Skip to content

Commit

Permalink
ipv4: Remove unused declaration from include/net/tcp.h.
Browse files Browse the repository at this point in the history
- The tcp_unhash() method in /include/net/tcp.h is no more needed, as the
unhash method in tcp_prot structure is now inet_unhash (instead of
tcp_unhash in the
past); see tcp_prot structure in net/ipv4/tcp_ipv4.c.

- So, this patch removes tcp_unhash() declaration from include/net/tcp.h

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Rami Rosen authored and David S. Miller committed Jun 10, 2008
1 parent 6b6707a commit 45d465b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ extern struct sk_buff * tcp_make_synack(struct sock *sk,

extern int tcp_disconnect(struct sock *sk, int flags);

extern void tcp_unhash(struct sock *sk);

/* From syncookies.c */
extern __u32 syncookie_secret[2][16-4+SHA_DIGEST_WORDS];
Expand Down

0 comments on commit 45d465b

Please sign in to comment.