Commit ed820f47 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

xen-netback: make function xenvif_rx_skb static

The function xenvif_rx_skb is local to the source and does not need
to be in global scope, so make it static.

Cleans up sparse warning:
drivers/net/xen-netback/rx.c:422:6: warning: symbol 'xenvif_rx_skb'
was not declared. Should it be static?
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarWei Liu <wei.liu2@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9e25b6f5
...@@ -419,7 +419,7 @@ static void xenvif_rx_extra_slot(struct xenvif_queue *queue, ...@@ -419,7 +419,7 @@ static void xenvif_rx_extra_slot(struct xenvif_queue *queue,
BUG(); BUG();
} }
void xenvif_rx_skb(struct xenvif_queue *queue) static void xenvif_rx_skb(struct xenvif_queue *queue)
{ {
struct xenvif_pkt_state pkt; struct xenvif_pkt_state pkt;
......
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