aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/igb/igb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c
index cba0115a6a57..a1fe581febc0 100644
--- a/drivers/net/igb/igb_main.c
+++ b/drivers/net/igb/igb_main.c
@@ -3758,7 +3758,7 @@ static int __igb_maybe_stop_tx(struct igb_ring *tx_ring, int size)
3758 return 0; 3758 return 0;
3759} 3759}
3760 3760
3761static int igb_maybe_stop_tx(struct igb_ring *tx_ring, int size) 3761static inline int igb_maybe_stop_tx(struct igb_ring *tx_ring, int size)
3762{ 3762{
3763 if (igb_desc_unused(tx_ring) >= size) 3763 if (igb_desc_unused(tx_ring) >= size)
3764 return 0; 3764 return 0;