OSDN Git Service

net/ipv4: Remove unused variable in route.c
authorTim Hansen <devtimhansen@gmail.com>
Wed, 4 Oct 2017 19:59:49 +0000 (15:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:16:06 +0000 (21:16 -0700)
commit1bcdca3ffbbbed0d09b46cf4263ed2593a418375
treea888e56af609a06e3d40cf1bd61b0d4d78129bd0
parent6d05081e55a5a55b32ae6609f1902eca8277541d
net/ipv4: Remove unused variable in route.c

int rc is unmodified after initalization in net/ipv4/route.c, this patch simply cleans up that variable and returns 0.

This was found with coccicheck M=net/ipv4/ on linus' tree.

Signed-off-by: Tim Hansen <devtimhansen@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c