]> git.baikalelectronics.ru Git - kernel.git/commit
net: sierra_net: rx_urb_size is constant
authorBjørn Mork <bjorn@mork.no>
Sun, 2 Sep 2012 23:20:33 +0000 (23:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Sep 2012 17:51:02 +0000 (13:51 -0400)
commit6a4a9247406e506f9faaa40ef3e2658f7e864b82
tree2e3923a3b99c424e5d9b595e3f8dee0c994e2462
parentb10ca9c511b60d1867f23e678bfcd4d92f7b1f74
net: sierra_net: rx_urb_size is constant

The rx_urb_size is set to the same value for every device
supported by this driver.  No need to keep a per-device
data structure to do that. Replacing with a macro constant.

This was the last device specific info, and removing it
allows us to delete the sierra_net_info_data struct.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/sierra_net.c