OSDN Git Service

mt76: mt7921: remove unnecessary variable
authorNigel Christian <nigel.l.christian@gmail.com>
Sun, 14 Feb 2021 03:02:37 +0000 (22:02 -0500)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 16:50:38 +0000 (18:50 +0200)
commitc2fa8edcca3b87c1d5cd6b9de00cb649abd636f5
tree77a60e718793d9a3535d09be7f98dea8dd7d9556
parentc1941b8902794c55328a220c5bf3654b1b54ba09
mt76: mt7921: remove unnecessary variable

In mt7921_pm_set() the variable "ret" is initialized to zero
and then returned. Remove it and return zero.

Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c