netfilter: ipv6: unnecessary to check whether ip6_route_output() returns NULL
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sun, 3 Apr 2016 14:03:33 +0000 (22:03 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 7 Apr 2016 16:53:08 +0000 (18:53 +0200)
commit85f1e7c29a46360b1b5f9cf87af6b27066c345fd
tree20698d20c27bb23840b54b8266ef8f7960c14fa5
parent8fef24ca90fb79de8454e26e9f3eae6cc610de1a
netfilter: ipv6: unnecessary to check whether ip6_route_output() returns NULL

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

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv6/netfilter/nf_reject_ipv6.c