Skip to contentSkip to conversation

remove CONFIG_LEDMAN code

PATCH New Domen Puncer 1 participant 1 message Jan 16, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove CONFIG_LEDMAN code

Hi.

"config LEDMAN" is in no Kconfig, linux/ledman.h also doesn't exists, so lets clean this up.

arch/m68knommu/defconfig +0 -1
diff -pruNX dontdiff c/arch/m68knommu/defconfig a/arch/m68knommu/defconfig
@@ -355,7 +355,6 @@ CONFIG_MOUSE_PS2=y
 #
 # CONFIG_VT is not set
 # CONFIG_SERIAL_NONSTANDARD is not set
-# CONFIG_LEDMAN is not set
 # CONFIG_RESETSWITCH is not set
 
 #
drivers/serial/mcfserial.c +0 -11
diff -pruNX dontdiff c/drivers/serial/mcfserial.c a/drivers/serial/mcfserial.c
@@ -27,9 +27,6 @@
 #include <linux/kernel.h>
 #include <linux/serial.h>
 #include <linux/serialP.h>
-#ifdef CONFIG_LEDMAN
-#include <linux/ledman.h>
-#endif
 #include <linux/console.h>
 #include <linux/version.h>
 #include <linux/init.h>
@@ -308,10 +305,6 @@ static _INLINE_ void receive_chars(struc
 	if (!tty)
 		return;
 
-#if defined(CONFIG_LEDMAN)
-	ledman_cmd(LEDMAN_CMD_SET, info->line ? LEDMAN_COM2_RX : LEDMAN_COM1_RX);
-#endif
-
 	uartp = (volatile unsigned char *) info->addr;
 
 	while ((status = uartp[MCFUART_USR]) & MCFUART_USR_RXREADY) {
@@ -358,10 +351,6 @@ static _INLINE_ void transmit_chars(stru
 {
 	volatile unsigned char	*uartp;
 
-#if defined(CONFIG_LEDMAN)
-	ledman_cmd(LEDMAN_CMD_SET, info->line ? LEDMAN_COM2_TX : LEDMAN_COM1_TX);
-#endif
-
 	uartp = (volatile unsigned char *) info->addr;
 
 	if (info->x_char) {

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors