usbnet: don't initialize transfer buffer before submit status URB
authortom.leiming@gmail.com <tom.leiming@gmail.com>
Mon, 11 Jun 2012 15:19:45 +0000 (15:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jun 2012 01:51:08 +0000 (18:51 -0700)
commit072c0559e26bc35700b3a70dffc230f00d9262b8
tree64d336b035e9641de2bbb05085ac9a122a369282
parent24ead29915352d4689a5972c65307a073b229fb4
usbnet: don't initialize transfer buffer before submit status URB

The line below in intr_complete isn't needed,

memset(urb->transfer_buffer, 0, urb->transfer_buffer_length);

so just remove it.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c