aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorCristina Opriceana <cristina.opriceana@gmail.com>2015-03-12 04:21:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-16 15:54:13 +0100
commit6c14378eca6f2f66438799e76845c3f2bbdafb57 (patch)
treeba3e29dafc72efc2879a876be3cc17a5b5252a20 /include/linux/memory_hotplug.h
parentStaging: rtl8192u: Combine initialization using setup_timer (diff)
Staging: rtl8192u: Remove unnecessary variable
This patch detects the cases in which a variable is not modified through the code and it is used as a return value. The variable is detected and removed by coccinelle using the following semantic patch: @@ type T; expression expr; identifier r; constant c; @@ -T r = expr; ... when != r when strict -return r; +return expr; Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions