drivers: net: xen-netfront: remove residual dead code
authorVincenzo Maffione <v.maffione@gmail.com>
Sat, 10 Jan 2015 09:20:25 +0000 (10:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Jan 2015 21:44:27 +0000 (16:44 -0500)
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>
drivers/net/xen-netfront.c

index 22bcb4e12e2a1318fc1802fb3c5ff6b2cb4acf92..a4e50482a230cce77efb7b7bded7c3702a85a407 100644 (file)
@@ -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 {