staging: rtl8192u: remove space before semicolon
authorRoxana Blaj <roxanagabriela10@gmail.com>
Sat, 27 Sep 2014 14:32:52 +0000 (17:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 03:39:26 +0000 (23:39 -0400)
This fixes the checkpatch.pl warning:
WARNING: space prohibited before semicolon

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

index efa704a73cec899513b8056a0f61fc1c5f952236..eca5128894e3bdb8e016a58c90d786d0bc25621e 100644 (file)
@@ -51,7 +51,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
        frag_threshold = pfirmware->cmdpacket_frag_thresold;
        do {
                if ((buffer_len - frag_offset) > frag_threshold) {
-                       frag_length = frag_threshold ;
+                       frag_length = frag_threshold;
                        bLastIniPkt = 0;
 
                } else {
@@ -78,7 +78,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
                 * Transform from little endian to big endian
                 * and pending  zero
                 */
-               for (i=0 ; i < frag_length; i+=4) {
+               for (i=0; i < frag_length; i+=4) {
                        *seg_ptr++ = ((i+0)<frag_length)?code_virtual_address[i+3]:0;
                        *seg_ptr++ = ((i+1)<frag_length)?code_virtual_address[i+2]:0;
                        *seg_ptr++ = ((i+2)<frag_length)?code_virtual_address[i+1]:0;