aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/cdc_ncm.h
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2013-11-01 11:16:41 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-02 02:02:01 -0400
commitff1632aa8581b7103ac2af1ea3cb4a415eb9d6ad (patch)
tree68e0defc09478750e76e6c18af12c741992e2683 /include/linux/usb/cdc_ncm.h
parentnet: cdc_ncm: remove redundant "intf" field (diff)
downloadlinux-dev-ff1632aa8581b7103ac2af1ea3cb4a415eb9d6ad.tar.xz
linux-dev-ff1632aa8581b7103ac2af1ea3cb4a415eb9d6ad.zip
net: cdc_ncm: remove redundant endpoint pointers
No need to duplicate stuff already in the common usbnet struct. We still need to keep our special find_endpoints function because we need explicit control over the selected altsetting. 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/usb/cdc_ncm.h b/include/linux/usb/cdc_ncm.h
index c14e00fb1667..36e1e153ca2d 100644
--- a/include/linux/usb/cdc_ncm.h
+++ b/include/linux/usb/cdc_ncm.h
@@ -100,9 +100,6 @@ struct cdc_ncm_ctx {
struct net_device *netdev;
struct usb_device *udev;
- struct usb_host_endpoint *in_ep;
- struct usb_host_endpoint *out_ep;
- struct usb_host_endpoint *status_ep;
struct usb_interface *control;
struct usb_interface *data;