forked from Minki/linux
iwlwifi: pcie: simplify return value
This was spot by Coccinelle. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
This commit is contained in:
parent
1899e11482
commit
47dbab263d
@ -973,12 +973,8 @@ static int iwl_pcie_load_given_ucode_8000(struct iwl_trans *trans,
|
||||
return ret;
|
||||
|
||||
/* load to FW the binary sections of CPU2 */
|
||||
ret = iwl_pcie_load_cpu_sections_8000(trans, image, 2,
|
||||
&first_ucode_section);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
return iwl_pcie_load_cpu_sections_8000(trans, image, 2,
|
||||
&first_ucode_section);
|
||||
}
|
||||
|
||||
static int iwl_trans_pcie_start_fw(struct iwl_trans *trans,
|
||||
|
Loading…
Reference in New Issue
Block a user