From: Jon Mason Date: Mon, 26 Sep 2011 09:37:38 +0000 (+0000) Subject: pch_gbe: remove unused variable X-Git-Tag: MMI-PSA29.97-13-9~18194^2~213 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7dfaa7741e40fff415e9ce37fc3aa39d283128f7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- 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;