aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2013-11-01 06:16:44 -0400
committerDavid S. Miller <davem@davemloft.net>2013-11-02 02:02:02 -0400
commitf3028c524a7cd4d97b034fc1f35dcaecb5d6f9d6 (patch)
treec8557e31b094d3e13b383460e1a4fbe801265402 /include/linux/usb
parentde5bee2720776989060b9686e6a89e938a346345 (diff)
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/cdc_ncm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb/cdc_ncm.h b/include/linux/usb/cdc_ncm.h
index 059dcc93c4d8..f14af3dd0cce 100644
--- a/include/linux/usb/cdc_ncm.h
+++ b/include/linux/usb/cdc_ncm.h
@@ -110,8 +110,6 @@ struct cdc_ncm_ctx {
110 110
111 u32 tx_timer_pending; 111 u32 tx_timer_pending;
112 u32 tx_curr_frame_num; 112 u32 tx_curr_frame_num;
113 u32 rx_speed;
114 u32 tx_speed;
115 u32 rx_max; 113 u32 rx_max;
116 u32 tx_max; 114 u32 tx_max;
117 u32 max_datagram_size; 115 u32 max_datagram_size;