diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-11-11 01:06:49 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 08:22:10 +0300 |
commit | a94f723d595ee085f81b1788d18e031af7eeba91 (patch) | |
tree | ce9309a5ba780429bc6e10a2c075af9c9e5b769a /fs/hfsplus | |
parent | 6f4e5fff1e4d46714ea554fd83e44eab534e8b11 (diff) | |
download | linux-a94f723d595ee085f81b1788d18e031af7eeba91.tar.xz |
[TCP]: Remove dead code in init_sequence
This removes two redundancies:
1) The test (skb->protocol == htons(ETH_P_IPV6) in tcp_v6_init_sequence()
is always true, due to
* tcp_v6_conn_request() is the only function calling this one
* tcp_v6_conn_request() redirects all skb's with ETH_P_IP protocol to
tcp_v4_conn_request() [ cf. top of tcp_v6_conn_request()]
2) The first argument, `struct sock *sk' of tcp_v{4,6}_init_sequence() is
never used.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hfsplus')
0 files changed, 0 insertions, 0 deletions