All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Collier <osdevtc@gmail.com>
To: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org
Subject: [PATCH 4/5] staging: wlan-ng: fix compilation for USB debugging
Date: Fri, 25 Oct 2019 09:41:25 +0100	[thread overview]
Message-ID: <20191025084126.9181-5-osdevtc@gmail.com> (raw)
In-Reply-To: <20191025084126.9181-1-osdevtc@gmail.com>

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>
---
 drivers/staging/wlan-ng/hfa384x_usb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 28d372a0663a..b71756ab0394 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -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);
 }
-- 
2.21.0

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2019-10-25  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-25  8:41 [PATCH 0/5] staging: wlang-ng: coding style changes/cleanups Tim Collier
2019-10-25  8:41 ` [PATCH 1/5] staging: wlan-ng: remove unnecessary casts from prism2usb.c Tim Collier
2019-10-25  8:41 ` [PATCH 2/5] staging: wlan-ng: shorten lines over 80 characters in hfa384x.h Tim Collier
2019-10-25  8:41 ` [PATCH 3/5] staging: wlan-ng: correct parameter alignment " Tim Collier
2019-10-25  8:41 ` Tim Collier [this message]
2019-10-25  8:41 ` [PATCH 5/5] staging: wlan-ng: remove unused field from struct hfa384x_usbctlx Tim Collier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191025084126.9181-5-osdevtc@gmail.com \
    --to=osdevtc@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.