diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 08:38:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-05 19:04:22 -0500 |
commit | 38741d50eb45554897e288f4b5ff2815e202c8aa (patch) | |
tree | eb3bda02880713c34856674736695ef217b1152b /drivers/net | |
parent | 8093b1c313a3328f8cef497aef863f8fd9c1bfdf (diff) |
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')
-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) | |||
80 | return IRQ_HANDLED; | 80 | return IRQ_HANDLED; |
81 | } | 81 | } |
82 | 82 | ||
83 | int xenvif_poll(struct napi_struct *napi, int budget) | 83 | static int xenvif_poll(struct napi_struct *napi, int budget) |
84 | { | 84 | { |
85 | struct xenvif_queue *queue = | 85 | struct xenvif_queue *queue = |
86 | container_of(napi, struct xenvif_queue, napi); | 86 | container_of(napi, struct xenvif_queue, napi); |