[NETFILTER]: Remove unused callbacks in nf_conntrack_l3proto
authorJan Engelhardt <jengelh@computergmbh.de>
Mon, 14 Apr 2008 09:15:52 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:52 +0000 (11:15 +0200)
These functions are never called.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/netfilter/nf_conntrack_l3proto.h

index b886e3ae6cad69bf78df1819456cd661daf95387..db0825803b16e428db239c4b8a78c7b658a247b4 100644 (file)
@@ -42,17 +42,6 @@ struct nf_conntrack_l3proto
        int (*print_tuple)(struct seq_file *s,
                           const struct nf_conntrack_tuple *);
 
-       /* Returns verdict for packet, or -1 for invalid. */
-       int (*packet)(struct nf_conn *ct,
-                     const struct sk_buff *skb,
-                     enum ip_conntrack_info ctinfo);
-
-       /*
-        * Called when a new connection for this protocol found;
-        * returns TRUE if it's OK.  If so, packet() called next.
-        */
-       int (*new)(struct nf_conn *ct, const struct sk_buff *skb);
-
        /*
         * Called before tracking. 
         *      *dataoff: offset of protocol header (TCP, UDP,...) in skb