Skip to contentSkip to conversation

m68k: remove unused asm/dbg.h

PATCH In review [email protected] 2 participants 2 messages Oct 29, 2012 – Nov 11, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m68k: remove unused asm/dbg.h

From: Greg Ungerer <[email protected]>

The contents of the m68k asm/dbg.h are never used, remove the file and remove the one reference to it.

---
 arch/m68k/include/asm/dbg.h      |    6 ------
 drivers/tty/serial/68328serial.c |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
 delete mode 100644 arch/m68k/include/asm/dbg.h
arch/m68k/include/asm/dbg.h deleted +0 -6
deleted file mode 100644
index 27af327..0000000
@@ -1,6 +0,0 @@
-#define DEBUG 1
-#ifdef CONFIG_COLDFIRE
-#define	BREAK asm volatile ("halt")
-#else
-#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
-#endif
drivers/tty/serial/68328serial.c +0 -1
index 66c38a3..fa1bc91 100644
@@ -14,7 +14,6 @@
  * 2.4/2.5 port                 David McCullough
  */
 
-#include <asm/dbg.h>
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/serial.h>
Signature · 1 line
1.7.0.4
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Mon, Oct 29, 2012 at 6:16 AM, <[email protected]> wrote:

From: Greg Ungerer <[email protected]>

The contents of the m68k asm/dbg.h are never used, remove the file and remove the one reference to it.

Quoted 23 lines
---
 arch/m68k/include/asm/dbg.h      |    6 ------
 drivers/tty/serial/68328serial.c |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
 delete mode 100644 arch/m68k/include/asm/dbg.h
arch/m68k/include/asm/dbg.h deleted +0 -6
deleted file mode 100644
index 27af327..0000000
@@ -1,6 +0,0 @@
-#define DEBUG 1
-#ifdef CONFIG_COLDFIRE
-#define        BREAK asm volatile ("halt")
-#else
-#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
-#endif
drivers/tty/serial/68328serial.c +0 -0
index 66c38a3..fa1bc91 100644

drivers/tty/serial/68328serial.c

Quoted 8 lines
drivers/tty/serial/68328serial.c +0 -2
@@ -14,7 +14,6 @@
  * 2.4/2.5 port                 David McCullough
  */
 
-#include <asm/dbg.h>
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/serial.h>
--

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds