diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 13:38:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 16:04:22 -0800 |
commit | 38741d50eb45554897e288f4b5ff2815e202c8aa (patch) | |
tree | eb3bda02880713c34856674736695ef217b1152b /drivers/net/xen-netback | |
parent | 8093b1c313a3328f8cef497aef863f8fd9c1bfdf (diff) | |
download | linux-38741d50eb45554897e288f4b5ff2815e202c8aa.tar.bz2 |
xen-netback: fix sparse warning
this patch fixes following sparse warning:
interface.c:83:5: warning: symbol 'xenvif_poll' was not declared. Should it be static?
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.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/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index 037f74f0fcf6..2b2484b4cc29 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -80,7 +80,7 @@ static irqreturn_t xenvif_tx_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -int xenvif_poll(struct napi_struct *napi, int budget) +static int xenvif_poll(struct napi_struct *napi, int budget) { struct xenvif_queue *queue = container_of(napi, struct xenvif_queue, napi); |