summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-17 05:18:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-17 11:27:55 +0300
commitce439c425b4e3f93e366939837127fcfd7d013e2 (patch)
tree31bcaf8f042a5b388703a3334bdd81c1dbdff86e /scripts/patch-kernel
parenta2d1e4285542bbe9f2851baed47b7f5c7eccba50 (diff)
downloadlinux-ce439c425b4e3f93e366939837127fcfd7d013e2.tar.xz
staging: vt6656: Compress return logic into one line.
Compress the return logic into one line avoids unnecessary variable declarations. In this case it also makes it easier to understand the function. Coccinelle was used to find this return statement. However, additional compressions were done to make the function clearer. Semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Elise Lennion <elise.lennion@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions