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:
Dan Carpenter 2022-07-22 09:38:40 +03:00 committed by Felix Fietkau
parent e7de4b4979
commit dc218cd6e9

View file

@ -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: