]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
netfilter: xtables: remove unused defines
authorJan Engelhardt <jengelh@medozas.de>
Wed, 13 Oct 2010 14:42:02 +0000 (16:42 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 13 Oct 2010 16:00:51 +0000 (18:00 +0200)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv6/ip6_tables.h

index f02d57436a341d90d0f9d40a0f4d3ee9ec735dc3..adbf4bff87eda6823689222410cb625b63488150 100644 (file)
@@ -255,8 +255,6 @@ extern unsigned int arpt_do_table(struct sk_buff *skb,
                                  const struct net_device *out,
                                  struct xt_table *table);
 
-#define ARPT_ALIGN(s) XT_ALIGN(s)
-
 #ifdef CONFIG_COMPAT
 #include <net/compat.h>
 
@@ -275,8 +273,6 @@ compat_arpt_get_target(struct compat_arpt_entry *e)
        return (void *)e + e->target_offset;
 }
 
-#define COMPAT_ARPT_ALIGN(s)   COMPAT_XT_ALIGN(s)
-
 #endif /* CONFIG_COMPAT */
 #endif /*__KERNEL__*/
 #endif /* _ARPTABLES_H */
index d0fef0a436f9f953bff4ad1b668c5eb30e821230..64a5d95c58e8a6057679a402186f0188931e35b1 100644 (file)
@@ -282,8 +282,6 @@ extern unsigned int ipt_do_table(struct sk_buff *skb,
                                 const struct net_device *out,
                                 struct xt_table *table);
 
-#define IPT_ALIGN(s) XT_ALIGN(s)
-
 #ifdef CONFIG_COMPAT
 #include <net/compat.h>
 
@@ -304,8 +302,6 @@ compat_ipt_get_target(struct compat_ipt_entry *e)
        return (void *)e + e->target_offset;
 }
 
-#define COMPAT_IPT_ALIGN(s)    COMPAT_XT_ALIGN(s)
-
 #endif /* CONFIG_COMPAT */
 #endif /*__KERNEL__*/
 #endif /* _IPTABLES_H */
index dca11186e522101638ee031f2bd78ffe0018d3b6..c9784f7a9c1f31675d7a64cff2246623aea495ef 100644 (file)
@@ -292,8 +292,6 @@ extern int ip6t_ext_hdr(u8 nexthdr);
 extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
                         int target, unsigned short *fragoff);
 
-#define IP6T_ALIGN(s) XT_ALIGN(s)
-
 #ifdef CONFIG_COMPAT
 #include <net/compat.h>
 
@@ -313,8 +311,6 @@ compat_ip6t_get_target(struct compat_ip6t_entry *e)
        return (void *)e + e->target_offset;
 }
 
-#define COMPAT_IP6T_ALIGN(s)   COMPAT_XT_ALIGN(s)
-
 #endif /* CONFIG_COMPAT */
 #endif /*__KERNEL__*/
 #endif /* _IP6_TABLES_H */