Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a969e1e authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Ralf Baechle
Browse files

[MIPS] Remove superfluous "ifdef CONFIG_KGDB".



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: default avatarRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent be6e1437
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line

#ifdef CONFIG_KGDB

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

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

#endif
+0 −4
Original line number Diff line number Diff line

#ifdef CONFIG_KGDB

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

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

#endif
+0 −4
Original line number Diff line number Diff line

#ifdef CONFIG_KGDB

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

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

#endif