From: Li, Liang Z Date: Mon, 6 Jul 2015 00:42:56 +0000 (+0800) Subject: xen-netback: remove duplicated function definition X-Git-Tag: firefly_0821_release~176^2~1159^2~396 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6ab13b27699e5a71cca20d301c3c424653bd0841;p=firefly-linux-kernel-4.4.55.git xen-netback: remove duplicated function definition There are two duplicated xenvif_zerocopy_callback() definitions. Remove one of them. Signed-off-by: Liang Li Signed-off-by: David S. Miller --- diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 8a495b318b6f..c6cb85a85c89 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/xen-netback/common.h @@ -325,9 +325,6 @@ static inline pending_ring_idx_t nr_pending_reqs(struct xenvif_queue *queue) 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); extern bool separate_tx_rx_irq;