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 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:
parent
3e515665a7
commit
ff1632aa85
2 changed files with 19 additions and 22 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue