aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/skge.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index b0aa150bbd8a..72148f0fbfcc 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -781,7 +781,7 @@ static void skge_rx_setup(struct skge_port *skge, struct skge_element *e,
781 * Note: DMA address is not changed by chip. 781 * Note: DMA address is not changed by chip.
782 * MTU not changed while receiver active. 782 * MTU not changed while receiver active.
783 */ 783 */
784static void skge_rx_reuse(struct skge_element *e, unsigned int size) 784static inline void skge_rx_reuse(struct skge_element *e, unsigned int size)
785{ 785{
786 struct skge_rx_desc *rd = e->desc; 786 struct skge_rx_desc *rd = e->desc;
787 787
@@ -2719,8 +2719,7 @@ static int skge_poll(struct net_device *dev, int *budget)
2719 netif_receive_skb(skb); 2719 netif_receive_skb(skb);
2720 2720
2721 ++work_done; 2721 ++work_done;
2722 } else 2722 }
2723 skge_rx_reuse(e, skge->rx_buf_size);
2724 } 2723 }
2725 ring->to_clean = e; 2724 ring->to_clean = e;
2726 2725