]> Pileus Git - ~andy/linux/commitdiff
staging: brcm80211: fix checkpatch warning in si_pmu_otp_power
authorArend van Spriel <arend@broadcom.com>
Tue, 3 May 2011 09:35:43 +0000 (11:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 3 May 2011 19:42:42 +0000 (12:42 -0700)
Patch "remove dependency between aiutils and siutils sources" introduced
several checkpatch warnings. This patch remove those in si_pmu_otp_power().

Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_pmu.c

index e98ace64714201c7f0224a5eb79855cfea2dfa0b..4b2095f2f89680261851a350485d85a05fa1f485 100644 (file)
@@ -1886,9 +1886,8 @@ void si_pmu_otp_power(si_t *sih, bool on)
        u32 rsrcs = 0;  /* rsrcs to turn on/off OTP power */
 
        /* Don't do anything if OTP is disabled */
-       if (si_is_otp_disabled(sih)) {
+       if (si_is_otp_disabled(sih))
                return;
-       }
 
        /* Remember original core before switch to chipc */
        origidx = ai_coreidx(sih);