mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
net: cdc_ncm: remove redundant "disconnected" flag
Calling netif_carrier_{on,off} is sufficient. There is no need
to duplicate the carrier state in a driver specific flag.
Acked-by: Enrico Mioso <mrkiko.rs@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:
parent
916f76405f
commit
fa83dbeee5
3 changed files with 2 additions and 31 deletions
|
|
@ -118,7 +118,6 @@ struct cdc_ncm_ctx {
|
|||
u16 tx_ndp_modulus;
|
||||
u16 tx_seq;
|
||||
u16 rx_seq;
|
||||
u16 connected;
|
||||
u16 min_tx_pkt;
|
||||
|
||||
/* statistics */
|
||||
|
|
|
|||
Loading…
Reference in a new issue