Commit dc218cd6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Felix Fietkau

wifi: mt76: mt7921: delete stray if statement

This if statement is never true.  It was supposed to have been deleted
as part of commit 454b768f ("mt76: mt7921: Let PCI core handle
power state and use pm_sleep_ptr()") but was missed.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent e7de4b49
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment