summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/oki-semi
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2011-09-26 13:37:38 +0400
committerDavid S. Miller <davem@davemloft.net>2011-09-27 08:49:59 +0400
commit7dfaa7741e40fff415e9ce37fc3aa39d283128f7 (patch)
treed350c135e9e3eba073ad01004ecc09acb09d7d96 /drivers/net/ethernet/oki-semi
parentcf177fd049d6248b8c594bd7fa3ba56313f7d405 (diff)
downloadlinux-7dfaa7741e40fff415e9ce37fc3aa39d283128f7.tar.xz
pch_gbe: remove unused variable
netdev is unused in pch_gbe_setup_rctl. Remove this declaration to avoid a compiler warning. Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
-rw-r--r--drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
index 35a7c21680b3..5dc61b4ef3cd 100644
--- a/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
+++ b/drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
@@ -698,7 +698,6 @@ static void pch_gbe_configure_tx(struct pch_gbe_adapter *adapter)
*/
static void pch_gbe_setup_rctl(struct pch_gbe_adapter *adapter)
{
- struct net_device *netdev = adapter->netdev;
struct pch_gbe_hw *hw = &adapter->hw;
u32 rx_mode, tcpip;