Drivers: net: hyperv: Cleanup the netvsc receive callback functio

Get rid of the buffer allocation in the receive path for normal packets.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
KY Srinivasan
2014-02-16 16:38:45 -08:00
committed by David S. Miller
parent 97c1723a61
commit ee0c4c39c5
2 changed files with 12 additions and 23 deletions

View File

@@ -506,6 +506,8 @@ struct netvsc_device {
/* Holds rndis device info */
void *extension;
/* The recive buffer for this device */
unsigned char cb_buffer[NETVSC_PACKET_SIZE];
};
/* NdisInitialize message */