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)
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>

No differences found