[PATCH 2.6 IrDA] infrared_mode

From: Jean Tourrilhes
Date: Wed Feb 25 2004 - 22:48:25 EST


irXXX_infrared_mode.diff :
~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [FEATURE] remove unused code


diff -Nru a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h
--- a/include/net/irda/irda_device.h Mon Feb 16 10:35:53 2004
+++ b/include/net/irda/irda_device.h Mon Feb 16 10:35:53 2004
@@ -243,8 +243,6 @@
struct irda_task *parent, void *param);
void irda_task_next_state(struct irda_task *task, IRDA_TASK_STATE state);

-extern const char *infrared_mode[];
-
/*
* Function irda_get_mtt (skb)
*
diff -Nru a/net/irda/irda_device.c b/net/irda/irda_device.c
--- a/net/irda/irda_device.c Mon Feb 16 10:35:53 2004
+++ b/net/irda/irda_device.c Mon Feb 16 10:35:53 2004
@@ -60,13 +60,6 @@
static hashbin_t *dongles = NULL;
static hashbin_t *tasks = NULL;

-const char *infrared_mode[] = {
- "IRDA_IRLAP",
- "IRDA_RAW",
- "SHARP_ASK",
- "TV_REMOTE",
-};
-
#ifdef CONFIG_IRDA_DEBUG
static const char *task_state[] = {
"IRDA_TASK_INIT",
diff -Nru a/net/irda/irsyms.c b/net/irda/irsyms.c
--- a/net/irda/irsyms.c Mon Feb 16 10:35:53 2004
+++ b/net/irda/irsyms.c Mon Feb 16 10:35:53 2004
@@ -170,7 +170,6 @@
#ifdef CONFIG_ISA
EXPORT_SYMBOL(setup_dma);
#endif
-EXPORT_SYMBOL(infrared_mode);

#ifdef CONFIG_IRTTY
EXPORT_SYMBOL(irtty_set_dtr_rts);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/