diff options
author | 2018-01-23 09:44:08 +0000 | |
---|---|---|
committer | 2018-01-23 11:16:23 -0500 | |
commit | 196709f4942dfc70e11088a025f3e14305117393 (patch) | |
tree | 7a70802eaca6ff514fd9685c7e6d8dd3d8481882 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | forcedeth: remove duplicate structure member in rx (diff) | |
download | wireguard-linux-196709f4942dfc70e11088a025f3e14305117393.tar.xz wireguard-linux-196709f4942dfc70e11088a025f3e14305117393.zip |
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 '')
0 files changed, 0 insertions, 0 deletions