ipv6: Remove superfluous NULL pointer check in ipv6_local_rxpmtu
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 11 Oct 2011 02:01:02 +0000 (02:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 03:51:30 +0000 (23:51 -0400)
commitc113464d4351591de8791c0cadfc165836e5a725
tree9c1fe9fa0e0ffc67273fe150a89bca9dc7c0afc9
parent1d9743745bf5ba30b57986d8da33c4fa072c355b
ipv6: Remove superfluous NULL pointer check in ipv6_local_rxpmtu

The pointer to mtu_info is taken from the common buffer
of the skb, thus it can't be a NULL pointer. This patch
removes this check on mtu_info.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/datagram.c