mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 04:26:45 +00:00
wifi: mt76: mt7921: delete stray if statement
This if statement is never true. It was supposed to have been deleted
as part of commit 454b768f9b
("mt76: mt7921: Let PCI core handle
power state and use pm_sleep_ptr()") but was missed.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e7de4b4979
commit
dc218cd6e9
1 changed files with 0 additions and 3 deletions
|
@ -406,9 +406,6 @@ static int mt7921_pci_suspend(struct device *device)
|
|||
if (err)
|
||||
goto restore_napi;
|
||||
|
||||
if (err)
|
||||
goto restore_napi;
|
||||
|
||||
return 0;
|
||||
|
||||
restore_napi:
|
||||
|
|
Loading…
Reference in a new issue