]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit1a9408355e91c21eaf4626386d65988a0ad7dc21
tree17868f2436cf49159a58766b34bd77994990c377
parent398f382c0a5bd62f0f31871e844700e1b9fd1ad3
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