net: neterion: vxge: remove set but not used variables 'max_frags' and 'txdl_priv'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 28 Nov 2018 12:24:41 +0000 (20:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2018 19:08:43 +0000 (11:08 -0800)
commit9cc549e4a7300a4b09da1429ed8c9c8f5759246f
tree85d1396fdd7b1122cc475a0cdebbfc62250ee48d
parent582754106716042baa8e5db2b29e8dd2c7c38b22
net: neterion: vxge: remove set but not used variables 'max_frags' and 'txdl_priv'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1698:35:
 warning: variable 'txdl_priv' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/neterion/vxge/vxge-traffic.c:1699:6:
 warning: variable 'max_frags' set but not used [-Wunused-but-set-variable]

It never used since introduction in
commit 113241321dcd ("Neterion: New driver: Traffic & alarm handler")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/neterion/vxge/vxge-traffic.c