diff options
author | Bjørn Mork <bjorn@mork.no> | 2013-11-01 11:16:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-02 02:02:02 -0400 |
commit | de5bee2720776989060b9686e6a89e938a346345 (patch) | |
tree | 9223f52960c431a7f34ca3aa6d426de9c817405a /drivers/net/usb/cdc_ncm.c | |
parent | bed6f762123fc53c63efef386531dd877cba2468 (diff) | |
download | blackbird-obmc-linux-de5bee2720776989060b9686e6a89e938a346345.tar.gz blackbird-obmc-linux-de5bee2720776989060b9686e6a89e938a346345.zip |
net: cdc_ncm: remove unused udev field
We already use the usbnet udev field everywhere this could have
been used.
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 'drivers/net/usb/cdc_ncm.c')
-rw-r--r-- | drivers/net/usb/cdc_ncm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index e39e7678a798..9cdd762916dc 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c @@ -388,8 +388,6 @@ int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_ buf = intf->cur_altsetting->extra; len = intf->cur_altsetting->extralen; - ctx->udev = dev->udev; - /* parse through descriptors associated with control interface */ while ((len > 0) && (buf[0] > 2) && (buf[0] <= len)) { |