Commit c50b52a0 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

igb: make local functions static

Sparse caught two functions that were only being used in one file.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 17f1bbca
...@@ -151,7 +151,7 @@ void igb_clear_vfta_i350(struct e1000_hw *hw) ...@@ -151,7 +151,7 @@ void igb_clear_vfta_i350(struct e1000_hw *hw)
* Writes value at the given offset in the register array which stores * Writes value at the given offset in the register array which stores
* the VLAN filter table. * the VLAN filter table.
**/ **/
void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) static void igb_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value)
{ {
int i; int i;
......
...@@ -4003,8 +4003,8 @@ static void igb_set_itr(struct igb_q_vector *q_vector) ...@@ -4003,8 +4003,8 @@ static void igb_set_itr(struct igb_q_vector *q_vector)
} }
} }
void igb_tx_ctxtdesc(struct igb_ring *tx_ring, u32 vlan_macip_lens, static void igb_tx_ctxtdesc(struct igb_ring *tx_ring, u32 vlan_macip_lens,
u32 type_tucmd, u32 mss_l4len_idx) u32 type_tucmd, u32 mss_l4len_idx)
{ {
struct e1000_adv_tx_context_desc *context_desc; struct e1000_adv_tx_context_desc *context_desc;
u16 i = tx_ring->next_to_use; u16 i = tx_ring->next_to_use;
...@@ -5623,7 +5623,7 @@ static irqreturn_t igb_intr(int irq, void *data) ...@@ -5623,7 +5623,7 @@ static irqreturn_t igb_intr(int irq, void *data)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
void igb_ring_irq_enable(struct igb_q_vector *q_vector) static void igb_ring_irq_enable(struct igb_q_vector *q_vector)
{ {
struct igb_adapter *adapter = q_vector->adapter; struct igb_adapter *adapter = q_vector->adapter;
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