From 01c7b4ca6ee0f41b8cc2a77fa4e926c3c3003add Mon Sep 17 00:00:00 2001 From: =?utf8?q?T=C3=BClin=20=C4=B0zer?= Date: Wed, 15 May 2013 05:32:03 +0300 Subject: [PATCH] Staging: silicom: Fixed warning 'space prohibited before semicolon'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/staging/silicom/bpctl_mod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.34.1