summaryrefslogtreecommitdiffstats
path: root/drivers/staging/brcm80211/util/bcmotp.c
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2010-09-14 09:45:34 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-14 16:22:05 -0700
commit621458221781e3e943c56e1978614604cee3beaf (patch)
tree698367f01f42f07770b55fabfdea959705d0aab0 /drivers/staging/brcm80211/util/bcmotp.c
parentca8c1e5990926406708d99fe1ce2a6f5e12f9033 (diff)
downloadop-kernel-dev-621458221781e3e943c56e1978614604cee3beaf.zip
op-kernel-dev-621458221781e3e943c56e1978614604cee3beaf.tar.gz
staging: brcm80211: fix "ERROR: trailing statements should be on next line"
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/util/bcmotp.c')
-rw-r--r--drivers/staging/brcm80211/util/bcmotp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/brcm80211/util/bcmotp.c b/drivers/staging/brcm80211/util/bcmotp.c
index ea4dc1e..3c812d4 100644
--- a/drivers/staging/brcm80211/util/bcmotp.c
+++ b/drivers/staging/brcm80211/util/bcmotp.c
@@ -199,7 +199,8 @@ static uint16 ipxotp_read_bit(void *oh, chipcregs_t *cc, uint off)
for (k = 0;
((st = R_REG(oi->osh, &cc->otpprog)) & OTPP_START_BUSY)
- && (k < OTPP_TRIES); k++) ;
+ && (k < OTPP_TRIES); k++)
+ ;
if (k >= OTPP_TRIES) {
return 0xffff;
}
@@ -259,7 +260,8 @@ static void BCMNMIATTACHFN(_ipxotp_init) (otpinfo_t *oi, chipcregs_t *cc)
W_REG(oi->osh, &cc->otpprog, otpp);
for (k = 0;
((st = R_REG(oi->osh, &cc->otpprog)) & OTPP_START_BUSY)
- && (k < OTPP_TRIES); k++) ;
+ && (k < OTPP_TRIES); k++)
+ ;
if (k >= OTPP_TRIES) {
return;
}
OpenPOWER on IntegriCloud