usb: core: hcd: make hcd->irq unsigned
[deliverable/linux.git] / drivers / usb / host / xhci-ring.c
index 3a033240ec64625f81ecc422d5e7a6b3afe9ea37..9e71f7c46a85d54bcbd564f5cdff1fb3dba80afc 100644 (file)
@@ -2396,7 +2396,7 @@ hw_died:
        /* FIXME when MSI-X is supported and there are multiple vectors */
        /* Clear the MSI-X event interrupt status */
 
-       if (hcd->irq != -1) {
+       if (hcd->irq) {
                u32 irq_pending;
                /* Acknowledge the PCI interrupt */
                irq_pending = xhci_readl(xhci, &xhci->ir_set->irq_pending);
This page took 0.030875 seconds and 5 git commands to generate.