]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Kill spurious opt->srr check in ip_options_rcv_srr().
authorDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 23:26:57 +0000 (19:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2011 23:26:57 +0000 (19:26 -0400)
commit152d4f07cc39a9d10ea4177e1f8ded1844848935
treee5a1862145c488c6abf9d12cc52a1db90481823d
parent0b7a1920dd77fc12f639eee7700e25e02875e5e8
ipv4: Kill spurious opt->srr check in ip_options_rcv_srr().

All call sites conditionalize the call to ip_options_rcv_srr()
with a check of opt->srr, so no need to check it again there.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_options.c