summary refs log tree commit diff
path: root/net/rds/tcp.h
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-23 09:44:08 +0000
committerDavid S. Miller <davem@davemloft.net>2018-01-23 11:16:23 -0500
commit196709f4942dfc70e11088a025f3e14305117393 (patch)
tree7a70802eaca6ff514fd9685c7e6d8dd3d8481882 /net/rds/tcp.h
parenta9124ec443babc80fc41fc620b60616231e7e893 (diff)
downloadlinux-196709f4942dfc70e11088a025f3e14305117393.tar.gz
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 'net/rds/tcp.h')
0 files changed, 0 insertions, 0 deletions