aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/esp4_offload.c
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/ipv4/esp4_offload.c
parentforcedeth: remove duplicate structure member in rx (diff)
downloadlinux-dev-196709f4942dfc70e11088a025f3e14305117393.tar.xz
linux-dev-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 'net/ipv4/esp4_offload.c')
0 files changed, 0 insertions, 0 deletions