summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback
diff options
context:
space:
mode:
authorLi, Liang Z <liang.z.li@intel.com>2015-07-06 03:42:56 +0300
committerDavid S. Miller <davem@davemloft.net>2015-07-09 00:12:53 +0300
commit6ab13b27699e5a71cca20d301c3c424653bd0841 (patch)
tree8ca443c14aa8c18d51cd4ae9f16f5578a073fa73 /drivers/net/xen-netback
parent8685255ec50d472deb4db1b8bab3609092944cc7 (diff)
downloadlinux-6ab13b27699e5a71cca20d301c3c424653bd0841.tar.xz
xen-netback: remove duplicated function definition
There are two duplicated xenvif_zerocopy_callback() definitions. Remove one of them. Signed-off-by: Liang Li <liang.z.li@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r--drivers/net/xen-netback/common.h3
1 files changed, 0 insertions, 3 deletions
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;