]> asedeno.scripts.mit.edu Git - linux.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)
commit78ce93f3e80bf8dff320a6d084c9933e81aa4a3f
tree6eddb7c82129995b6d2b0fa4ede9ccc0081ae64d
parent168c7d76425d053ca6a311e450ac3627cffff5a7
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