commit | 87f35f02a9193b83657d60695bf981d1a2255fda | [log] [tgz] |
---|---|---|
author | Eva Rachel Retuya <eraretuya@gmail.com> | Sun Feb 21 15:29:38 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 25 22:34:19 2016 -0800 |
tree | aee97506c6bbeac5f9fcf5844a940c9c4fd5db87 | |
parent | 91dd941996e4a626f9467a33e3573bd7c119e914 [diff] |
staging: most: compress return logic into one line Eliminate local variable 'ret' and modify return statement to contain the value being returned directly instead of assigning it first to 'ret' and returning this variable. Coccinelle semantic patch used: @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>