]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited93f09997fdd796a9d39a396435eaa250b5fed7
treebcc6dec544fc2d9ab03a8e40f7c2d3242b58d64d
parent02c027b96e4796b2f5f388c5800e9930ee8c6f89
Revert "cdc_subset: deal with a device that needs reset for timeout"

This reverts commit cdcecdb2a15d4d0eb37f4ef7b2038396dd49b9e9.

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