mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 04:09:18 -04:00
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 <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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
aa4eec9350
commit
efc39e39f3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user