Commit 6ab13b27 authored by Li, Liang Z's avatar Li, Liang Z Committed by David S. Miller

xen-netback: remove duplicated function definition

There are two duplicated xenvif_zerocopy_callback() definitions.
Remove one of them.
Signed-off-by: default avatarLiang Li <liang.z.li@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8685255e
...@@ -325,9 +325,6 @@ static inline pending_ring_idx_t nr_pending_reqs(struct xenvif_queue *queue) ...@@ -325,9 +325,6 @@ static inline pending_ring_idx_t nr_pending_reqs(struct xenvif_queue *queue)
queue->pending_prod + queue->pending_cons; queue->pending_prod + queue->pending_cons;
} }
/* Callback from stack when TX packet can be released */
void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
irqreturn_t xenvif_interrupt(int irq, void *dev_id); irqreturn_t xenvif_interrupt(int irq, void *dev_id);
extern bool separate_tx_rx_irq; extern bool separate_tx_rx_irq;
......
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