Revert "cdc_subset: deal with a device that needs reset for timeout"
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2014 15:56:23 +0000 (08:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jul 2014 15:56:23 +0000 (08:56 -0700)
commit1d8fcba1de632d7a43349788ad534c5a32c5a44c
treebcc6dec544fc2d9ab03a8e40f7c2d3242b58d64d
parentb527caee1b91946db844b1dc63d4f726958891c8
Revert "cdc_subset: deal with a device that needs reset for timeout"

This reverts commit 20fbe3ae990fd54fc7d1f889d61958bc8b38f254.

As reported by Stephen Rothwell, it causes compile failures in certain
configurations:

  drivers/net/usb/cdc_subset.c:360:15: error: 'dummy_prereset' undeclared here (not in a function)
    .pre_reset = dummy_prereset,
                 ^
  drivers/net/usb/cdc_subset.c:361:16: error: 'dummy_postreset' undeclared here (not in a function)
    .post_reset = dummy_postreset,
                  ^

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David Miller <davem@davemloft.net>
Cc: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/usb/cdc_subset.c
drivers/net/usb/usbnet.c
include/linux/usb/usbnet.h