diff options
author | Bjørn Mork <bjorn@mork.no> | 2014-05-16 19:48:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-17 02:39:02 (GMT) |
commit | fa83dbeee55865678025b6c1637ca08860209f87 (patch) | |
tree | 56ffa4f18336e8e9f1d1e0db7a32ccaa3cddc386 /include | |
parent | 916f76405fe6f1ae2d0b60841343782f0575ab0a (diff) | |
download | linux-fa83dbeee55865678025b6c1637ca08860209f87.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb/cdc_ncm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb/cdc_ncm.h b/include/linux/usb/cdc_ncm.h index cde5067..8c5e388 100644 --- a/include/linux/usb/cdc_ncm.h +++ b/include/linux/usb/cdc_ncm.h @@ -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 */ |