staging: wfx: Remove unnecessary return variable
authorSumera Priyadarsini <sylphrenadin@gmail.com>
Sun, 26 Jul 2020 13:07:20 +0000 (18:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Jul 2020 08:17:30 +0000 (10:17 +0200)
commitb031d10abfeeffc5d015a3d135babce16930bf62
tree23a2967d5111124a43d687deaadbffffe0b9db3c
parent01713f0d58322f0029f5ac99ce60dd44414b4902
staging: wfx: Remove unnecessary return variable

Remove redundant variable in file fwio.c used for returning value.

Issue was found using Coccinelle:

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Sumera Priyadarsini <sylphrenadin@gmail.com>
Link: https://lore.kernel.org/r/20200726130720.12993-1-sylphrenadin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/fwio.c