net: b44: remove redundant assignment to variable reg
authorColin Ian King <colin.king@canonical.com>
Fri, 11 Oct 2019 17:22:32 +0000 (18:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Oct 2019 16:57:55 +0000 (12:57 -0400)
commitf58a887ebc990b4d01a5a53330be06c384e089c4
tree84c912ce2cfe211231792eb82c37de38dd19d6ff
parent85a83a8fca7f347b1dc0b637a0d6487fd76aff5c
net: b44: remove redundant assignment to variable reg

The variable reg is being assigned a value that is never read
and is being re-assigned in the following for-loop. The
assignment is redundant and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/b44.c