]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192u: remove space before close parenthesis ")"
authorRoxana Blaj <roxanagabriela10@gmail.com>
Sat, 27 Sep 2014 14:47:21 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 03:39:27 +0000 (23:39 -0400)
This fixes the checkpatch.pl error:
ERROR: space prohibited before that close parenthesis ')'

Signed-off-by: Roxana Blaj <roxanagabriela10@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_firmware.c

index eca5128894e3bdb8e016a58c90d786d0bc25621e..f66ad8a0dfe052e601cf23bed1206e3af2eb327e 100644 (file)
@@ -89,7 +89,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
 
                if (!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)||
                        (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\
-                       (priv->ieee80211->queue_stop) ) {
+                       (priv->ieee80211->queue_stop)) {
                        RT_TRACE(COMP_FIRMWARE,"=====================================================> tx full!\n");
                        skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb);
                } else {
@@ -216,7 +216,7 @@ bool init_firmware(struct net_device *dev)
 
        RT_TRACE(COMP_FIRMWARE, " PlatformInitFirmware()==>\n");
 
-       if (pfirmware->firmware_status == FW_STATUS_0_INIT ) {
+       if (pfirmware->firmware_status == FW_STATUS_0_INIT) {
                /* it is called by reset */
                rst_opt = OPT_SYSTEM_RESET;
                starting_state = FW_INIT_STEP0_BOOT;
@@ -241,7 +241,7 @@ bool init_firmware(struct net_device *dev)
                 */
                if (rst_opt == OPT_SYSTEM_RESET) {
                        rc = request_firmware(&fw_entry, fw_name[init_step],&priv->udev->dev);
-                       if (rc < 0 ) {
+                       if (rc < 0) {
                                RT_TRACE(COMP_ERR, "request firmware fail!\n");
                                goto download_firmware_fail;
                        }
@@ -262,7 +262,7 @@ bool init_firmware(struct net_device *dev)
                                file_length = fw_entry->size + 128;
                        }
                        pfirmware->firmware_buf_size = file_length;
-               } else if (rst_opt == OPT_FIRMWARE_RESET ) {
+               } else if (rst_opt == OPT_FIRMWARE_RESET) {
                        /* we only need to download data.img here */
                        mapped_file = pfirmware->firmware_buf;
                        file_length = pfirmware->firmware_buf_size;