mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -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:
parent
aa4eec9350
commit
efc39e39f3
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue