summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-02-23 18:16:57 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-26 17:36:54 +0100
commited820f47bc5f9336840a43b3542c0281812bec03 (patch)
tree11b7bef799b6ec8ecdd8bb6877452da17c402bc8 /drivers/net/xen-netback
parentMerge branch 'tools-tc-testing-better-error-reporting' (diff)
downloadlinux-ed820f47bc5f9336840a43b3542c0281812bec03.tar.xz
linux-ed820f47bc5f9336840a43b3542c0281812bec03.zip
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: Colin Ian King <colin.king@canonical.com> Acked-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r--drivers/net/xen-netback/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/rx.c b/drivers/net/xen-netback/rx.c
index b1cf7c6f407a..ef5887037b22 100644
--- a/drivers/net/xen-netback/rx.c
+++ b/drivers/net/xen-netback/rx.c
@@ -419,7 +419,7 @@ static void xenvif_rx_extra_slot(struct xenvif_queue *queue,
BUG();
}
-void xenvif_rx_skb(struct xenvif_queue *queue)
+static void xenvif_rx_skb(struct xenvif_queue *queue)
{
struct xenvif_pkt_state pkt;