Staging: silicom: Fixed warning 'space prohibited before semicolon'.
authorTülin İzer <tulinizer@gmail.com>
Wed, 15 May 2013 02:32:03 +0000 (05:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 22:50:28 +0000 (15:50 -0700)
This patch fixes warning 'space prohibited before semicolon' found by
checkpatch.pl in driver silicom.

Signed-off-by: Tülin İzer <tulinizer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bpctl_mod.c

index 5b7b149335e15613d7101c55e37ee42742a69d16..8c6504fd183717e0462e9134aa735fe6eba858a3 100644 (file)
@@ -165,7 +165,7 @@ static int bp_device_event(struct notifier_block *unused,
                        memcpy(&cbuf, drvinfo.bus_info, 32);
                        buf = &cbuf[0];
 
-                       while (*buf++ != ':') ;
+                       while (*buf++ != ':');
                        for (i = 0; i < 10; i++, buf++) {
                                if (*buf == ':')
                                        break;
@@ -2154,7 +2154,7 @@ static void bp75_release_phy(bpctl_dev_t *pbpctl_dev)
        if ((pbpctl_dev->func == 1) || (pbpctl_dev->func == 3))
                mask = BPCTLI_SWFW_PHY1_SM;
 
-       while (bp75_get_hw_semaphore_generic(pbpctl_dev) != 0) ;
+       while (bp75_get_hw_semaphore_generic(pbpctl_dev) != 0);
        /* Empty */
 
        swfw_sync = BPCTL_READ_REG(pbpctl_dev, SW_FW_SYNC);
@@ -5345,7 +5345,7 @@ static void if_scan_init(void)
                memcpy(&cbuf, drvinfo.bus_info, 32);
                buf = &cbuf[0];
 
-               while (*buf++ != ':') ;
+               while (*buf++ != ':');
                for (i = 0; i < 10; i++, buf++) {
                        if (*buf == ':')
                                break;