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

Commit dbeca583 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Johannes Berg
Browse files

iwlwifi: don't warn if transport's allocation failed



The allocation failure will already be very verbose.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d18aa87f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2126,7 +2126,7 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
	trans = kzalloc(sizeof(struct iwl_trans) +
			sizeof(struct iwl_trans_pcie), GFP_KERNEL);

	if (WARN_ON(!trans))
	if (!trans)
		return NULL;

	trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);