summaryrefslogtreecommitdiff
path: root/include/linux/usb/cdc_ncm.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2013-11-01 14:16:40 +0400
committerDavid S. Miller <davem@davemloft.net>2013-11-02 10:02:01 +0400
commit3e515665a76ad8f60a1c05968cc6a5b2f2701171 (patch)
tree85515dd56a639083655fa3702d64d2c856ccb881 /include/linux/usb/cdc_ncm.h
parentf6701d5f73c5c2f4ca37634514631fb056291f89 (diff)
downloadlinux-3e515665a76ad8f60a1c05968cc6a5b2f2701171.tar.xz
net: cdc_ncm: remove redundant "intf" field
This is always a duplicate of the "control" field. It causes confusion wrt intf_data updates and cleanups. 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/cdc_ncm.h')
-rw-r--r--include/linux/usb/cdc_ncm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb/cdc_ncm.h b/include/linux/usb/cdc_ncm.h
index 89f0bbc2cf83..c14e00fb1667 100644
--- a/include/linux/usb/cdc_ncm.h
+++ b/include/linux/usb/cdc_ncm.h
@@ -103,7 +103,6 @@ struct cdc_ncm_ctx {
struct usb_host_endpoint *in_ep;
struct usb_host_endpoint *out_ep;
struct usb_host_endpoint *status_ep;
- struct usb_interface *intf;
struct usb_interface *control;
struct usb_interface *data;