]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove a useless NULL check
authorAmerigo Wang <amwang@redhat.com>
Sun, 28 Oct 2012 17:43:53 +0000 (17:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Nov 2012 18:50:15 +0000 (14:50 -0400)
commit00dfd6a6084ae6116fccbdd6e5f1a658e05bf836
tree17868f2436cf49159a58766b34bd77994990c377
parent8cf368c50eb5127b030c0103fb27d03327aaf7c5
ipv6: remove a useless NULL check

In dev_forward_change(), it is useless to check if idev->dev
is NULL, it is always non-NULL here.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c