From d8bcc17c0113369527b830e5c0058bfd1e42fe94 Mon Sep 17 00:00:00 2001 From: Devendra Naga Date: Sun, 9 Sep 2012 18:40:54 +0530 Subject: [PATCH] --- yaml --- r: 325058 b: refs/heads/master c: 89e6302ce7125d3be40637c2080be2b4728e4510 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/staging/wlan-ng/hfa384x_usb.c | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 2ecf05abe11b..00e6deda0649 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3f5142583066d6d9a9484b060779dad419780720 +refs/heads/master: 89e6302ce7125d3be40637c2080be2b4728e4510 diff --git a/trunk/drivers/staging/wlan-ng/hfa384x_usb.c b/trunk/drivers/staging/wlan-ng/hfa384x_usb.c index 01a20d5ba6d7..25dd2639805c 100644 --- a/trunk/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/trunk/drivers/staging/wlan-ng/hfa384x_usb.c @@ -3790,7 +3790,7 @@ static void hfa384x_ctlxout_callback(struct urb *urb) #endif if ((urb->status == -ESHUTDOWN) || (urb->status == -ENODEV) || (hw == NULL)) - goto done; + return; retry: spin_lock_irqsave(&hw->ctlxq.lock, flags); @@ -3803,7 +3803,7 @@ static void hfa384x_ctlxout_callback(struct urb *urb) */ if (list_empty(&hw->ctlxq.active)) { spin_unlock_irqrestore(&hw->ctlxq.lock, flags); - goto done; + return; } /* @@ -3886,9 +3886,6 @@ static void hfa384x_ctlxout_callback(struct urb *urb) if (run_queue) hfa384x_usbctlxq_run(hw); - -done: - ; } /*----------------------------------------------------------------