staging: wlan-ng: fix compilation for USB debugging
authorTim Collier <osdevtc@gmail.com>
Fri, 25 Oct 2019 08:41:25 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Oct 2019 18:46:43 +0000 (20:46 +0200)
Fix compilation errors (remove references to 2 undefined fields in the
URB struct) when DEBUG_USB is defined for the wlan-ng driver.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Link: https://lore.kernel.org/r/20191025084126.9181-5-osdevtc@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 28d372a..b71756a 100644 (file)
@@ -293,13 +293,11 @@ void dbprint_urb(struct urb *urb)
        pr_debug("urb->transfer_buffer_length=0x%08x\n",
                 urb->transfer_buffer_length);
        pr_debug("urb->actual_length=0x%08x\n", urb->actual_length);
-       pr_debug("urb->bandwidth=0x%08x\n", urb->bandwidth);
        pr_debug("urb->setup_packet(ctl)=0x%08x\n",
                 (unsigned int)urb->setup_packet);
        pr_debug("urb->start_frame(iso/irq)=0x%08x\n", urb->start_frame);
        pr_debug("urb->interval(irq)=0x%08x\n", urb->interval);
        pr_debug("urb->error_count(iso)=0x%08x\n", urb->error_count);
-       pr_debug("urb->timeout=0x%08x\n", urb->timeout);
        pr_debug("urb->context=0x%08x\n", (unsigned int)urb->context);
        pr_debug("urb->complete=0x%08x\n", (unsigned int)urb->complete);
 }