mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
iwlwifi: remove unneeded NULL check
There's no need to check trans for non-null here as it has already been checked in the caller. This fixes an smatch warning that we check after having dereferenced it. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
346c265a48
commit
bd408b3336
1 changed files with 0 additions and 3 deletions
|
|
@ -879,9 +879,6 @@ static irqreturn_t iwl_isr(int irq, void *data)
|
|||
|
||||
lockdep_assert_held(&trans_pcie->irq_lock);
|
||||
|
||||
if (!trans)
|
||||
return IRQ_NONE;
|
||||
|
||||
trace_iwlwifi_dev_irq(trans->dev);
|
||||
|
||||
/* Disable (but don't clear!) interrupts here to avoid
|
||||
|
|
|
|||
Loading…
Reference in a new issue