]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: avoid compile error in fib_info_nh_uses_dev
authorEric Dumazet <edumazet@google.com>
Fri, 21 Sep 2018 17:58:07 +0000 (10:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:41:30 +0000 (19:41 -0700)
commit1a630a8d7a2377004b35a47371beba17c7f3887e
tree05cf5a03941b700e316a4e0eb2aa87ccfe84239a
parent8fcfc2cd5eb8fbb934fc4b3bb81c14f148b1d38f
net/ipv4: avoid compile error in fib_info_nh_uses_dev

net/ipv4/fib_frontend.c: In function 'fib_info_nh_uses_dev':
net/ipv4/fib_frontend.c:322:6: error: unused variable 'ret' [-Werror=unused-variable]
cc1: all warnings being treated as errors

Fixes: 2857e613360d ("net/ipv4: Move device validation to helper")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Ahern <dsahern@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_frontend.c