Re: [PATCH 1/5] net: usb: ax88179_178a: remove redundant init code

From: Jakub Kicinski
Date: Tue Jul 19 2022 - 16:42:03 EST


On Mon, 18 Jul 2022 16:58:05 -0700 justinpopo6@xxxxxxxxx wrote:
> From: Justin Chen <justinpopo6@xxxxxxxxx>
>
> Bind and reset are basically doing the same thing. Remove the duplicate
> code and have bind call into reset.
>
> Signed-off-by: Justin Chen <justinpopo6@xxxxxxxxx>

drivers/net/usb/ax88179_178a.c:1329:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
u8 *tmp;
^
drivers/net/usb/ax88179_178a.c:1328:7: warning: variable 'tmp16' set but not used [-Wunused-but-set-variable]
u16 *tmp16;
^