Skip to content
Commit e2411376 authored by Arushi Singhal's avatar Arushi Singhal Committed by Simon Horman
Browse files

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: default avatarArushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 848850a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment