ipv6: remove assignment in if condition
authorFabian Frederick <fabf@skynet.be>
Wed, 29 Oct 2014 11:57:51 +0000 (12:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Oct 2014 19:51:43 +0000 (15:51 -0400)
commit43728fa5c5e475e6f0059ec739e715fc49e4a478
tree3a173c6c96c18a71a62d422ad35bd053c8297b42
parentfc08c258191f4acc79df232c0c65c857ee75e59f
ipv6: remove assignment in if condition

Do assignment before if condition and test !skb like in rawv6_recvmsg()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c