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>
This commit is contained in:
parent
cf177fd049
commit
7dfaa7741e
|
@ -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)
|
static void pch_gbe_setup_rctl(struct pch_gbe_adapter *adapter)
|
||||||
{
|
{
|
||||||
struct net_device *netdev = adapter->netdev;
|
|
||||||
struct pch_gbe_hw *hw = &adapter->hw;
|
struct pch_gbe_hw *hw = &adapter->hw;
|
||||||
u32 rx_mode, tcpip;
|
u32 rx_mode, tcpip;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue