OSDN Git Service

staging: wfx: drop useless argument from wfx_set_pm()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:12 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:14 +0000 (15:56 +0100)
commit8dd5bb6631949f78c8aff1747f496265a97b1375
tree44e4784a0706a63292b70504d63fd4876861da26
parent97e587bd08939f8b0e315bd1be4beccaf296179d
staging: wfx: drop useless argument from wfx_set_pm()

Argument to wfx_set_pm() is always wvif->powersave_mode. So, we can
simplify it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-33-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c