summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/misc/legousbtower.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c
index 1be84dc13067..a3ae843e0a3a 100644
--- a/drivers/usb/misc/legousbtower.c
+++ b/drivers/usb/misc/legousbtower.c
@@ -457,9 +457,6 @@ exit:
*/
static void tower_abort_transfers (struct lego_usb_tower *dev)
{
- if (dev == NULL)
- return;
-
/* shutdown transfer */
if (dev->interrupt_in_running) {
dev->interrupt_in_running = 0;