Remove braces from an if statement with only a single line in the if
block.

Signed-off-by: Tim Collier <osde...@gmail.com>
---
 drivers/staging/wlan-ng/hfa384x_usb.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c 
b/drivers/staging/wlan-ng/hfa384x_usb.c
index 6261881e9bcd..4824b37b27a3 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -3623,10 +3623,9 @@ static void hfa384x_usbout_callback(struct urb *urb)
                        struct hfa384x *hw = wlandev->priv;
 
                        if (!test_and_set_bit(THROTTLE_TX, &hw->usb_flags) &&
-                           !timer_pending(&hw->throttle)) {
+                           !timer_pending(&hw->throttle))
                                mod_timer(&hw->throttle,
                                          jiffies + THROTTLE_JIFFIES);
-                       }
                        wlandev->netdev->stats.tx_errors++;
                        netif_stop_queue(wlandev->netdev);
                        break;
-- 
2.11.0

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

Reply via email to