]> git.karo-electronics.de Git - karo-tx-linux.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)
commit5aee07281b2aa9a1f740a8ccac4781e787fc1192
tree2e3923a3b99c424e5d9b595e3f8dee0c994e2462
parent9625e5fa345f079c92ce34dd564196e7dc45461b
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