From: Arend van Spriel Date: Tue, 3 May 2011 09:35:43 +0000 (+0200) Subject: staging: brcm80211: fix checkpatch warning in si_pmu_otp_power X-Git-Tag: v3.0-rc1~336^2~550 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=efc39e39f3888a62fcfe4465b8ebd246246514f8;p=~andy%2Flinux staging: brcm80211: fix checkpatch warning in si_pmu_otp_power 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 Cc: Henry Ptasinski Cc: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c b/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c index e98ace64714..4b2095f2f89 100644 --- a/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c +++ b/drivers/staging/brcm80211/brcmsmac/wlc_pmu.c @@ -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);