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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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: