summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorArushi Singhal <arushisinghal19971997@gmail.com>2017-03-29 17:57:52 +0300
committerSimon Horman <horms@verge.net.au>2017-03-30 15:54:47 +0300
commite24113769960980579610ecfd657bb17f19373a3 (patch)
tree63ae0ef0693317b3b4745a7977e5e3fc50b38ce6 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent848850a3e9161e2cdcbb5cef7edc21ba49252ad1 (diff)
downloadlinux-e24113769960980579610ecfd657bb17f19373a3.tar.xz
ipvs: remove unused variable
This patch uses the following coccinelle script to remove a variable that was simply used to store the return value of a function call before returning it: @@ identifier len,f; @@ -int len; ... when != len when strict -len = +return f(...); -return len; Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions