]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38615464968a40c4d8469a1ce37895ecd5b87f01
tree84c912ce2cfe211231792eb82c37de38dd19d6ff
parent93c314e1c383a7407e87f6522d9cac36b3d1a4cb
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