Commit 38741d50 authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by David S. Miller

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: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: default avatarWei Liu <wei.liu2@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8093b1c3
...@@ -80,7 +80,7 @@ static irqreturn_t xenvif_tx_interrupt(int irq, void *dev_id) ...@@ -80,7 +80,7 @@ static irqreturn_t xenvif_tx_interrupt(int irq, void *dev_id)
return IRQ_HANDLED; 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 = struct xenvif_queue *queue =
container_of(napi, struct xenvif_queue, napi); container_of(napi, struct xenvif_queue, napi);
......
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