Skip to content

Commit 45d465b

Browse files
ramirosendavem330
authored andcommitted
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>
1 parent 6b6707a commit 45d465b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/net/tcp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ extern struct sk_buff * tcp_make_synack(struct sock *sk,
433433

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

436-
extern void tcp_unhash(struct sock *sk);
437436

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

0 commit comments

Comments
 (0)