Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34478
b: refs/heads/master
c: 97a4f3e
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and David S. Miller committed Sep 22, 2006
1 parent 1e13fa1 commit 34d4ff8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a18135eb9389c26d36ef5c05bd8bc526e0cbe883
refs/heads/master: 97a4f3e7110619568aa239fe19143d9ec42dede5
21 changes: 0 additions & 21 deletions trunk/net/bridge/netfilter/ebtables.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,9 @@
#include <linux/netfilter_ipv4/listhelp.h>
#include <linux/mutex.h>

#if 0
/* use this for remote debugging
* Copyright (C) 1998 by Ori Pomerantz
* Print the string to the appropriate tty, the one
* the current task uses
*/
static void print_string(char *str)
{
struct tty_struct *my_tty;

/* The tty for the current task */
my_tty = current->signal->tty;
if (my_tty != NULL) {
my_tty->driver->write(my_tty, 0, str, strlen(str));
my_tty->driver->write(my_tty, 0, "\015\012", 2);
}
}

#define BUGPRINT(args) print_string(args);
#else
#define BUGPRINT(format, args...) printk("kernel msg: ebtables bug: please "\
"report to author: "format, ## args)
/* #define BUGPRINT(format, args...) */
#endif
#define MEMPRINT(format, args...) printk("kernel msg: ebtables "\
": out of memory: "format, ## args)
/* #define MEMPRINT(format, args...) */
Expand Down

0 comments on commit 34d4ff8

Please sign in to comment.