mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Remove the NULL check for a pointer which will never be NULL
psoc_cfg is pointing to the address of a structure variable, which will never be NULL. To address this remove the NULL check. Change-Id: I12f539ce2feace550c403ffc996fa315994470a7 CRs-Fixed: 2911862
This commit is contained in:
parent
d1a1ca8038
commit
5d6e79efae
1 changed files with 1 additions and 2 deletions
|
|
@ -810,8 +810,7 @@ pmo_core_enable_wow_in_fw(struct wlan_objmgr_psoc *psoc,
|
|||
pmo_info("RTPM wow");
|
||||
}
|
||||
|
||||
if ((psoc_cfg) &&
|
||||
(psoc_cfg->is_mod_dtim_on_sys_suspend_enabled)) {
|
||||
if (psoc_cfg->is_mod_dtim_on_sys_suspend_enabled) {
|
||||
pmo_info("mod DTIM enabled");
|
||||
param.flags |= WMI_WOW_FLAG_MOD_DTIM_ON_SYS_SUSPEND;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue