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>
This commit is contained in:

committed by
David S. Miller

parent
de5bee2720
commit
f3028c524a
@@ -110,8 +110,6 @@ struct cdc_ncm_ctx {
|
||||
|
||||
u32 tx_timer_pending;
|
||||
u32 tx_curr_frame_num;
|
||||
u32 rx_speed;
|
||||
u32 tx_speed;
|
||||
u32 rx_max;
|
||||
u32 tx_max;
|
||||
u32 max_datagram_size;
|
||||
|
Reference in New Issue
Block a user