diff options
author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2017-03-29 20:27:52 +0530 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2017-03-30 14:54:47 +0200 |
commit | e24113769960980579610ecfd657bb17f19373a3 (patch) | |
tree | 63ae0ef0693317b3b4745a7977e5e3fc50b38ce6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 848850a3e9161e2cdcbb5cef7edc21ba49252ad1 (diff) |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions