netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] drivers: net: xen-netfront: remove residual dead code
@ 2015-01-10  9:20 Vincenzo Maffione
  2015-01-12 11:12 ` [Xen-devel] " David Vrabel
  2015-01-12 21:44 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Vincenzo Maffione @ 2015-01-10  9:20 UTC (permalink / raw)
  To: netdev
  Cc: xen-devel, david.vrabel, boris.ostrovsky, konrad.wilk,
	Vincenzo Maffione

This patch removes some unused arrays from the netfront private
data structures. These arrays were used in "flip" receive mode.

Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
---
 drivers/net/xen-netfront.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
index 22bcb4e..a4e5048 100644
--- a/drivers/net/xen-netfront.c
+++ b/drivers/net/xen-netfront.c
@@ -144,10 +144,6 @@ struct netfront_queue {
 	struct sk_buff *rx_skbs[NET_RX_RING_SIZE];
 	grant_ref_t gref_rx_head;
 	grant_ref_t grant_rx_ref[NET_RX_RING_SIZE];
-
-	unsigned long rx_pfn_array[NET_RX_RING_SIZE];
-	struct multicall_entry rx_mcl[NET_RX_RING_SIZE+1];
-	struct mmu_update rx_mmu[NET_RX_RING_SIZE];
 };
 
 struct netfront_info {
-- 
2.2.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-12 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-10  9:20 [PATCH net] drivers: net: xen-netfront: remove residual dead code Vincenzo Maffione
2015-01-12 11:12 ` [Xen-devel] " David Vrabel
2015-01-12 21:44 ` 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).