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>
This commit is contained in:
Bjørn Mork
2013-11-01 11:16:41 +01:00
committed by David S. Miller
parent 3e515665a7
commit ff1632aa85
2 changed files with 19 additions and 22 deletions

View File

@@ -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;