Re: [PATCH] m68k: remove unused asm/dbg.h

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.ports.m68k,gmane.linux.uclinux.devel
Message-ID <CAMuHMdWpKVjGH=gSiV1HO7B5cKyxb6ZBEwh9DdAqN3qLTAz8Pw@mail.gmail.com>
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.
>
> Signed-off-by: Greg Ungerer <[email protected]>

Acked-by: Geert Uytterhoeven <[email protected]>

> ---
>  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
>
> diff --git a/arch/m68k/include/asm/dbg.h b/arch/m68k/include/asm/dbg.h
> deleted file mode 100644
> index 27af327..0000000
> --- a/arch/m68k/include/asm/dbg.h
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -#define DEBUG 1
> -#ifdef CONFIG_COLDFIRE
> -#define        BREAK asm volatile ("halt")
> -#else
> -#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
> -#endif
> diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c
> index 66c38a3..fa1bc91 100644
> --- a/drivers/tty/serial/68328serial.c
> +++ b/drivers/tty/serial/68328serial.c
> @@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.