commit | 5a420d15d15b0eb46672578baa268675c63962f7 | [log] [tgz] |
---|---|---|
author | Eva Rachel Retuya <eraretuya@gmail.com> | Wed Sep 21 13:07:04 2016 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 22 11:54:47 2016 +0200 |
tree | 00b984ac139998e4a54134ce567bc5e89adcae5e | |
parent | 4f1cbe2a7b4fa50e5ae09e0a564c9dc4101b02fd [diff] |
staging: greybus: arche-platform: compress return logic into one line Modify return statement to use the value being returned directly instead of assigning it first to 'ret' and returning this variable. Coccinelle semantic patch used: @@ expression e; local idexpression ret; @@ -ret = +return e; -return ret; Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>