pch_gbe: remove unused variable
authorJon Mason <jdmason@kudzu.us>
Mon, 26 Sep 2011 09:37:38 +0000 (09:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2011 04:49:59 +0000 (00:49 -0400)
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>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c

index 35a7c21680b310d0fc3efbaac219a97f0ab245f1..5dc61b4ef3cdd9bf2e7fce88359d57a4def3e0af 100644 (file)
@@ -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;