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 <tulinizer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f84b075178
commit
01c7b4ca6e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue