Skip to content

Commit

Permalink
[MIPS] Remove superfluous "ifdef CONFIG_KGDB".
Browse files Browse the repository at this point in the history
Given that the Makefiles involved already have conditional compilation of
 the form:

  obj-$(CONFIG_KGDB)      += dbg_io.o

there seems to be little value for the dbg_io.c source files to check
that config variable yet again.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Robert P. J. Day authored and Ralf Baechle committed Feb 6, 2007
1 parent be6e143 commit 4a969e1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions arch/mips/gt64120/momenco_ocelot/dbg_io.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#ifdef CONFIG_KGDB

#include <asm/serial.h> /* For the serial port location and base baud */

/* --- CONFIG --- */
Expand Down Expand Up @@ -121,5 +119,3 @@ int putDebugChar(uint8 byte)
UART16550_WRITE(OFS_SEND_BUFFER, byte);
return 1;
}

#endif
4 changes: 0 additions & 4 deletions arch/mips/momentum/ocelot_c/dbg_io.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#ifdef CONFIG_KGDB

#include <asm/serial.h> /* For the serial port location and base baud */

/* --- CONFIG --- */
Expand Down Expand Up @@ -121,5 +119,3 @@ int putDebugChar(uint8 byte)
UART16550_WRITE(OFS_SEND_BUFFER, byte);
return 1;
}

#endif
4 changes: 0 additions & 4 deletions arch/mips/momentum/ocelot_g/dbg_io.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

#ifdef CONFIG_KGDB

#include <asm/serial.h> /* For the serial port location and base baud */

/* --- CONFIG --- */
Expand Down Expand Up @@ -121,5 +119,3 @@ int putDebugChar(uint8 byte)
UART16550_WRITE(OFS_SEND_BUFFER, byte);
return 1;
}

#endif

0 comments on commit 4a969e1

Please sign in to comment.