diff options
author | Alan Cox <alan@redhat.com> | 2006-08-15 03:01:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:54:43 -0400 |
commit | 97a4f3e7110619568aa239fe19143d9ec42dede5 (patch) | |
tree | e11b066c4cae9b770ef413a09d84447959caf1f0 /net/bridge | |
parent | a18135eb9389c26d36ef5c05bd8bc526e0cbe883 (diff) |
[NETFILTER]: Make unused signal code go away so nobody copies its brokenness
This code is wrong on so many levels, please lose it so it isn't
replicated anywhere else.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/netfilter/ebtables.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index 3a13ed643459..d06a5075b5f6 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c | |||
@@ -37,30 +37,9 @@ | |||
37 | #include <linux/netfilter_ipv4/listhelp.h> | 37 | #include <linux/netfilter_ipv4/listhelp.h> |
38 | #include <linux/mutex.h> | 38 | #include <linux/mutex.h> |
39 | 39 | ||
40 | #if 0 | ||
41 | /* use this for remote debugging | ||
42 | * Copyright (C) 1998 by Ori Pomerantz | ||
43 | * Print the string to the appropriate tty, the one | ||
44 | * the current task uses | ||
45 | */ | ||
46 | static void print_string(char *str) | ||
47 | { | ||
48 | struct tty_struct *my_tty; | ||
49 | |||
50 | /* The tty for the current task */ | ||
51 | my_tty = current->signal->tty; | ||
52 | if (my_tty != NULL) { | ||
53 | my_tty->driver->write(my_tty, 0, str, strlen(str)); | ||
54 | my_tty->driver->write(my_tty, 0, "\015\012", 2); | ||
55 | } | ||
56 | } | ||
57 | |||
58 | #define BUGPRINT(args) print_string(args); | ||
59 | #else | ||
60 | #define BUGPRINT(format, args...) printk("kernel msg: ebtables bug: please "\ | 40 | #define BUGPRINT(format, args...) printk("kernel msg: ebtables bug: please "\ |
61 | "report to author: "format, ## args) | 41 | "report to author: "format, ## args) |
62 | /* #define BUGPRINT(format, args...) */ | 42 | /* #define BUGPRINT(format, args...) */ |
63 | #endif | ||
64 | #define MEMPRINT(format, args...) printk("kernel msg: ebtables "\ | 43 | #define MEMPRINT(format, args...) printk("kernel msg: ebtables "\ |
65 | ": out of memory: "format, ## args) | 44 | ": out of memory: "format, ## args) |
66 | /* #define MEMPRINT(format, args...) */ | 45 | /* #define MEMPRINT(format, args...) */ |