ipv4: Remove unused declaration from include/net/tcp.h.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, June 11, 2008 - 5:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=45d465...
Commit:     45d465bc237ab1e1ebb4c65b9b318830dafb7509
Parent:     6b6707a50c7598a83820077393f8823ab791abf8
Author:     Rami Rosen <ramirose@gmail.com>
AuthorDate: Tue Jun 10 12:37:42 2008 -0700
Committer:  David S. Miller <davem@davemloft.net>
CommitDate: Tue Jun 10 12:37:42 2008 -0700

    ipv4: Remove unused declaration from include/net/tcp.h.
    
    - 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>
---
 include/net/tcp.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/net/tcp.h b/include/net/tcp.h
index 633147c..d448310 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -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];
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ipv4: Remove unused declaration from include/net/tcp.h., Linux Kernel Mailing ..., (Wed Jun 11, 5:59 pm)