mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
8093b1c313
commit
38741d50eb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue