* [RESEND] xen-netback: remove duplicated function definition
@ 2015-07-06 0:42 Liang Li
2015-07-08 21:13 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Liang Li @ 2015-07-06 0:42 UTC (permalink / raw)
To: linux-kernel; +Cc: netdev, ian.campbell, wei.liu2, xen-devel, davem, Liang Li
There are two duplicated xenvif_zerocopy_callback() definitions.
Remove one of them.
Signed-off-by: Liang Li <liang.z.li@intel.com>
---
drivers/net/xen-netback/common.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h
index 8a495b3..c6cb85a 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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RESEND] xen-netback: remove duplicated function definition
2015-07-06 0:42 [RESEND] xen-netback: remove duplicated function definition Liang Li
@ 2015-07-08 21:13 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-07-08 21:13 UTC (permalink / raw)
To: liang.z.li; +Cc: linux-kernel, netdev, ian.campbell, wei.liu2, xen-devel
From: Liang Li <liang.z.li@intel.com>
Date: Mon, 6 Jul 2015 08:42:56 +0800
> There are two duplicated xenvif_zerocopy_callback() definitions.
> Remove one of them.
>
> Signed-off-by: Liang Li <liang.z.li@intel.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-08 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 0:42 [RESEND] xen-netback: remove duplicated function definition Liang Li
2015-07-08 21:13 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).