Skip to contentSkip to conversation

staging: hv: remove netvsc send buffer and related functions

PATCH New Haiyang Zhang 1 participant 1 message May 25, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: hv: remove netvsc send buffer and related functions

netvsc send buffer is not used, so remove it.

---
 drivers/staging/hv/hyperv_net.h |   10 ---
 drivers/staging/hv/netvsc.c     |  161 ---------------------------------------
 2 files changed, 0 insertions(+), 171 deletions(-)
drivers/staging/hv/hyperv_net.h +0 -10
index cf762bd..27f987b 100644
@@ -355,10 +355,6 @@ struct nvsp_message {
 /* #define NVSC_MIN_PROTOCOL_VERSION		1 */
 /* #define NVSC_MAX_PROTOCOL_VERSION		1 */
 
-#define NETVSC_SEND_BUFFER_SIZE			(64*1024)	/* 64K */
-#define NETVSC_SEND_BUFFER_ID			0xface
-
-
 #define NETVSC_RECEIVE_BUFFER_SIZE		(1024*1024)	/* 1MB */
 
 #define NETVSC_RECEIVE_BUFFER_ID		0xcafe
@@ -383,12 +379,6 @@ struct netvsc_device {
 	struct list_head recv_pkt_list;
 	spinlock_t recv_pkt_list_lock;
 
-	/* Send buffer allocated by us but manages by NetVSP */
-	void *send_buf;
-	u32 send_buf_size;
-	u32 send_buf_gpadl_handle;
-	u32 send_section_size;
-
 	/* Receive buffer allocated by us but manages by NetVSP */
 	void *recv_buf;
 	u32 recv_buf_size;
drivers/staging/hv/netvsc.c +0 -161

185 lines not on this page · raw message

Signature · 1 line
1.6.3.2