OpenCloudOS-Kernel/drivers/net/ethernet/pasemi
YueHaibing 1789b8aabe net: pasemi: remove set but not used variable 'cpyhdr'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/pasemi/pasemi_mac.c: In function 'pasemi_mac_queue_csdesc':
drivers/net/ethernet/pasemi/pasemi_mac.c:1358:29: warning: variable 'cpyhdr' set but not used [-Wunused-but-set-variable]

It's never used since commit 8d636d8bc5 ("pasemi_mac: jumbo
frame support") and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-04 17:36:23 -07:00
..
Kconfig pasemi_mac: Replace LRO with GRO 2016-02-17 16:15:45 -05:00
Makefile pasemi_mac: Fix building as module 2011-12-06 00:48:59 -05:00
pasemi_mac.c net: pasemi: remove set but not used variable 'cpyhdr' 2019-04-04 17:36:23 -07:00
pasemi_mac.h net: ethernet: pasemi_mac: use phydev from struct net_device 2016-07-15 16:41:34 -07:00
pasemi_mac_ethtool.c net: ethernet: pasemi_mac: use phy_ethtool_{get|set}_link_ksettings 2016-07-15 16:41:34 -07:00