]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1baa213e55b3ef999186b7bda7bbc509c6d632bb
treea888e56af609a06e3d40cf1bd61b0d4d78129bd0
parent0dff30e09a9638338f6ade5a571d6e05cb852ec3
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