]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/serial/ir-usb.c
USB: remove references to port->port.count from the serial drivers
[karo-tx-linux.git] / drivers / usb / serial / ir-usb.c
index c3e5d506aead3368776115319983a8ada014735b..4a0f51974232cd21b8c673c23659ca5a454c92d1 100644 (file)
@@ -445,11 +445,6 @@ static void ir_read_bulk_callback(struct urb *urb)
 
        dbg("%s - port %d", __func__, port->number);
 
-       if (!port->port.count) {
-               dbg("%s - port closed.", __func__);
-               return;
-       }
-
        switch (status) {
        case 0: /* Successful */
                /*