ipv6: ip6_route_output() never returns NULL.
authorRongQing.Li <roy.qing.li@gmail.com>
Tue, 21 Feb 2012 22:10:49 +0000 (22:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Feb 2012 20:30:14 +0000 (15:30 -0500)
commit5095d64db1b978bdb31d30fed9e47dbf04f729be
treea912b34b0f78b40f46fde374fae530211ef22c4c
parentba9adbe67e288823ac1deb7f11576ab5653f833e
ipv6: ip6_route_output() never returns NULL.

ip6_route_output() never returns NULL, so it is wrong to
check if the return value is NULL.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c
net/ipv6/ndisc.c