]> git.baikalelectronics.ru Git - kernel.git/commit
net: cdc_ncm: remove tx_speed and rx_speed fields
authorBjørn Mork <bjorn@mork.no>
Fri, 1 Nov 2013 10:16:44 +0000 (11:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Nov 2013 06:02:02 +0000 (02:02 -0400)
commit6ff69ddfd47dad3ad6153462bd92adf3fdecc64e
treec8557e31b094d3e13b383460e1a4fbe801265402
parentd8edb25ade7b5838b53c1fb2bd1aa0bbeb1b9534
net: cdc_ncm: remove tx_speed and rx_speed fields

These fields are only used to prevent printing the same speeds
multiple times if we receive multiple identical speed notifications.

The value of these printk's is questionable, and even more so when
we filter out some of the notifications sent us by the firmware. If
we are going to print any of these, then we should print them all.

Removing little used fields is a bonus.

Cc: Alexey Orishko <alexey.orishko@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c
include/linux/usb/cdc_ncm.h