Commit 0d158852 authored by Haiyang Zhang's avatar Haiyang Zhang Committed by David S. Miller

hv_netvsc: Clean up two unused variables

Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2646c831
...@@ -130,7 +130,6 @@ struct hv_netvsc_packet { ...@@ -130,7 +130,6 @@ struct hv_netvsc_packet {
u32 status; u32 status;
bool part_of_skb; bool part_of_skb;
struct hv_device *device;
bool is_data_pkt; bool is_data_pkt;
bool xmit_more; /* from skb */ bool xmit_more; /* from skb */
u16 vlan_tci; u16 vlan_tci;
......
...@@ -1011,7 +1011,6 @@ static void netvsc_receive(struct netvsc_device *net_device, ...@@ -1011,7 +1011,6 @@ static void netvsc_receive(struct netvsc_device *net_device,
} }
count = vmxferpage_packet->range_cnt; count = vmxferpage_packet->range_cnt;
netvsc_packet->device = device;
netvsc_packet->channel = channel; netvsc_packet->channel = channel;
/* Each range represents 1 RNDIS pkt that contains 1 ethernet frame */ /* Each range represents 1 RNDIS pkt that contains 1 ethernet frame */
......
...@@ -47,8 +47,6 @@ struct rndis_request { ...@@ -47,8 +47,6 @@ struct rndis_request {
/* Simplify allocation by having a netvsc packet inline */ /* Simplify allocation by having a netvsc packet inline */
struct hv_netvsc_packet pkt; struct hv_netvsc_packet pkt;
/* Set 2 pages for rndis requests crossing page boundary */
struct hv_page_buffer buf[2];
struct rndis_message request_msg; struct rndis_message request_msg;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment