Subject: [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function

From: Adrian Bunk <[email-masked]>
Date: Fri, 29 Oct 2004 01:02:02 +0200

The patch below removes an unused function from 
net/ipv4/netfilter/ipt_tcpmss.c

diffstat output:
 net/ipv4/netfilter/ipt_tcpmss.c |   12 ------------
 1 files changed, 12 deletions(-)

Signed-off-by: Adrian Bunk <[email-masked]>

- --- linux-2.6.10-rc1-mm1-full/net/ipv4/netfilter/ipt_tcpmss.c.old	2004-10-28 23:51:17.000000000 +0200
+++ linux-2.6.10-rc1-mm1-full/net/ipv4/netfilter/ipt_tcpmss.c	2004-10-28 23:51:28.000000000 +0200
@@ -87,18 +87,6 @@
 			       info->invert, hotdrop);
 }
 
- -static inline int find_syn_match(const struct ipt_entry_match *m)
- -{
- -	const struct ipt_tcp *tcpinfo = (const struct ipt_tcp *)m->data;
- -
- -	if (strcmp(m->u.kernel.match->name, "tcp") == 0
- -	    && (tcpinfo->flg_cmp & TH_SYN)
- -	    && !(tcpinfo->invflags & IPT_TCP_INV_FLAGS))
- -		return 1;
- -
- -	return 0;
- -}
- -
 static int
 checkentry(const char *tablename,
            const struct ipt_ip *ip,