Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ecdafd8 authored by Jan Engelhardt's avatar Jan Engelhardt
Browse files

netfilter: xtables: remove unused defines

parent 75f0a0fd
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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 */
+0 −4
Original line number Diff line number Diff line
@@ -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 */
+0 −4
Original line number Diff line number Diff line
@@ -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 */