]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: Remove local variable used only in return statement.
authorNachammai Karuppiah <nachukannan@gmail.com>
Tue, 5 Nov 2019 09:21:31 +0000 (01:21 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Nov 2019 16:50:21 +0000 (17:50 +0100)
commit3777ec32b21670b80962213b5560e0ba5602bf61
tree6eddb7c82129995b6d2b0fa4ede9ccc0081ae64d
parent474509d4d7be380593610fc2b4e750aff3f297b2
staging: wfx: Remove local variable used only in return statement.

Remove unnecessary local variable that is used in return statement and
return the expression directly. Issue found using coccinelle.

Signed-off-by: Nachammai Karuppiah <nachukannan@gmail.com>
Link: https://lore.kernel.org/r/1572945691-109992-1-git-send-email-nachukannan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c