]> git.karo-electronics.de Git - linux-beck.git/commit
ipv4: remove redundant verification code
authorHagen Paul Pfeifer <hagen@jauu.net>
Wed, 31 Mar 2010 14:54:46 +0000 (14:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 01:38:47 +0000 (18:38 -0700)
commitd4fc6dbb5ae51430e35b2005f6d68938861f8d8b
tree20a9c2a539787fb5c7dca8b6dad79e5750784073
parent430e55b11e9756bb7648fc1cdf5063e385cd6dec
ipv4: remove redundant verification code

The check if error signaling is wanted (inet->recverr != 0) is done by
the caller: raw.c:raw_err() and udp.c:__udp4_lib_err(), so there is no
need to check this condition again.

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c