summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2016-09-21 13:07:04 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-22 11:54:47 +0200
commit5a420d15d15b0eb46672578baa268675c63962f7 (patch)
tree00b984ac139998e4a54134ce567bc5e89adcae5e /scripts/gdb/linux/utils.py
parent4f1cbe2a7b4fa50e5ae09e0a564c9dc4101b02fd (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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions