* [PATCH 2.6 IrDA] infrared_mode
@ 2004-02-26 3:18 Jean Tourrilhes
0 siblings, 0 replies; only message in thread
From: Jean Tourrilhes @ 2004-02-26 3:18 UTC (permalink / raw)
To: David S. Miller, Linux kernel mailing list
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-26 3:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-26 3:18 [PATCH 2.6 IrDA] infrared_mode Jean Tourrilhes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®