mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -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:
committed by
David S. Miller
parent
3e515665a7
commit
ff1632aa85
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user