net: usb: asix: remove redundant assignment to variable reg
authorColin Ian King <colin.i.king@gmail.com>
Sun, 23 Jan 2022 18:40:35 +0000 (18:40 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Jan 2022 01:07:23 +0000 (17:07 -0800)
commit9f16e0fa1079022632880da3e8346537ba4eeecc
treeebf2b3f8db9cf3534d3a11b487ecf026a519fc5c
parentcaaba96131b3a132590316c49887af85e07930b6
net: usb: asix: remove redundant assignment to variable reg

Variable reg is being masked however the variable is never read
after this. The assignment is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20220123184035.112785-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/asix_devices.c