Commit 603cdca9 authored by Bruce Allan's avatar Bruce Allan Committed by Jeff Kirsher

e1000e: prevent warning from -Wunused-parameter

Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e80bd1d1
...@@ -2673,7 +2673,7 @@ static int e1000e_poll(struct napi_struct *napi, int weight) ...@@ -2673,7 +2673,7 @@ static int e1000e_poll(struct napi_struct *napi, int weight)
} }
static int e1000_vlan_rx_add_vid(struct net_device *netdev, static int e1000_vlan_rx_add_vid(struct net_device *netdev,
__be16 proto, u16 vid) __always_unused __be16 proto, u16 vid)
{ {
struct e1000_adapter *adapter = netdev_priv(netdev); struct e1000_adapter *adapter = netdev_priv(netdev);
struct e1000_hw *hw = &adapter->hw; struct e1000_hw *hw = &adapter->hw;
...@@ -2699,7 +2699,7 @@ static int e1000_vlan_rx_add_vid(struct net_device *netdev, ...@@ -2699,7 +2699,7 @@ static int e1000_vlan_rx_add_vid(struct net_device *netdev,
} }
static int e1000_vlan_rx_kill_vid(struct net_device *netdev, static int e1000_vlan_rx_kill_vid(struct net_device *netdev,
__be16 proto, u16 vid) __always_unused __be16 proto, u16 vid)
{ {
struct e1000_adapter *adapter = netdev_priv(netdev); struct e1000_adapter *adapter = netdev_priv(netdev);
struct e1000_hw *hw = &adapter->hw; struct e1000_hw *hw = &adapter->hw;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment