Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: xtables: remove unused defines

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>

-12
-4
include/linux/netfilter_arp/arp_tables.h
··· 255 255 const struct net_device *out, 256 256 struct xt_table *table); 257 257 258 - #define ARPT_ALIGN(s) XT_ALIGN(s) 259 - 260 258 #ifdef CONFIG_COMPAT 261 259 #include <net/compat.h> 262 260 ··· 272 274 { 273 275 return (void *)e + e->target_offset; 274 276 } 275 - 276 - #define COMPAT_ARPT_ALIGN(s) COMPAT_XT_ALIGN(s) 277 277 278 278 #endif /* CONFIG_COMPAT */ 279 279 #endif /*__KERNEL__*/
-4
include/linux/netfilter_ipv4/ip_tables.h
··· 282 282 const struct net_device *out, 283 283 struct xt_table *table); 284 284 285 - #define IPT_ALIGN(s) XT_ALIGN(s) 286 - 287 285 #ifdef CONFIG_COMPAT 288 286 #include <net/compat.h> 289 287 ··· 301 303 { 302 304 return (void *)e + e->target_offset; 303 305 } 304 - 305 - #define COMPAT_IPT_ALIGN(s) COMPAT_XT_ALIGN(s) 306 306 307 307 #endif /* CONFIG_COMPAT */ 308 308 #endif /*__KERNEL__*/
-4
include/linux/netfilter_ipv6/ip6_tables.h
··· 292 292 extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, 293 293 int target, unsigned short *fragoff); 294 294 295 - #define IP6T_ALIGN(s) XT_ALIGN(s) 296 - 297 295 #ifdef CONFIG_COMPAT 298 296 #include <net/compat.h> 299 297 ··· 310 312 { 311 313 return (void *)e + e->target_offset; 312 314 } 313 - 314 - #define COMPAT_IP6T_ALIGN(s) COMPAT_XT_ALIGN(s) 315 315 316 316 #endif /* CONFIG_COMPAT */ 317 317 #endif /*__KERNEL__*/