diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-01-23 09:44:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-23 11:16:23 -0500 |
commit | 196709f4942dfc70e11088a025f3e14305117393 (patch) | |
tree | 7a70802eaca6ff514fd9685c7e6d8dd3d8481882 /arch/s390/kvm | |
parent | a9124ec443babc80fc41fc620b60616231e7e893 (diff) | |
download | linux-196709f4942dfc70e11088a025f3e14305117393.tar.bz2 |
bnx2: remove redundant initializations of pointers txr and rxr
Pointers txr and rxr are being initialized and a few statements later
are being assigned new values without the original values ever being
read. The initialized values are therefore redundant and can be
removed.
Cleans up clang warnings:
drivers/net/ethernet/broadcom/bnx2.c:5821:28: warning: Value stored to
'txr' during its initialization is never read
drivers/net/ethernet/broadcom/bnx2.c:5822:28: warning: Value stored to
'rxr' during its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390/kvm')
0 files changed, 0 insertions, 0 deletions