summaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorVincenzo Maffione <v.maffione@gmail.com>2015-01-10 10:20:25 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-12 16:44:27 -0500
commitdd2e8bf586a69b824e50d50a5bbc16ed38f50986 (patch)
tree512e6f08fae16ad32748ceec7f7122c36832d723 /drivers/net/xen-netfront.c
parent5ec82c1e4c86cf2fa115a2ae6d3576a100b47c42 (diff)
downloadop-kernel-dev-dd2e8bf586a69b824e50d50a5bbc16ed38f50986.zip
op-kernel-dev-dd2e8bf586a69b824e50d50a5bbc16ed38f50986.tar.gz
drivers: net: xen-netfront: remove residual dead code
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> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r--drivers/net/xen-netfront.c4
1 files changed, 0 insertions, 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 {
OpenPOWER on IntegriCloud