]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: make function xenvif_rx_skb static
authorColin Ian King <colin.king@canonical.com>
Fri, 23 Feb 2018 17:16:57 +0000 (17:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 16:36:54 +0000 (11:36 -0500)
commitdc1ee1bae630bb9fe32f30f73e82f298b0e443fb
tree11b7bef799b6ec8ecdd8bb6877452da17c402bc8
parent4a1d81395a04602842bb5b16de0587c2bb00178d
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>
drivers/net/xen-netback/rx.c