Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47dbab26 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach
Browse files

iwlwifi: pcie: simplify return value



This was spot by Coccinelle.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent 1899e114
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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,
	return iwl_pcie_load_cpu_sections_8000(trans, image, 2,
					       &first_ucode_section);
	if (ret)
		return ret;

	return 0;
}

static int iwl_trans_pcie_start_fw(struct iwl_trans *trans,