From: Tülin İzer Date: Wed, 15 May 2013 02:32:03 +0000 (+0300) Subject: Staging: silicom: Fixed warning 'space prohibited before semicolon'. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01c7b4ca6ee0f41b8cc2a77fa4e926c3c3003add;p=linux-beck.git Staging: silicom: Fixed warning 'space prohibited before semicolon'. This patch fixes warning 'space prohibited before semicolon' found by checkpatch.pl in driver silicom. Signed-off-by: Tülin İzer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/silicom/bpctl_mod.c b/drivers/staging/silicom/bpctl_mod.c index 5b7b149335e1..8c6504fd1837 100644 --- a/drivers/staging/silicom/bpctl_mod.c +++ b/drivers/staging/silicom/bpctl_mod.c @@ -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;