infrared_mode
PATCH 1/1 infrared_mode
irXXX_infrared_mode.diff :
~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [FEATURE] remove unused code
include/net/irda/irda_device.h +0 -2
@@ -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) *
net/irda/irda_device.c +0 -7
@@ -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",
net/irda/irsyms.c +0 -1
@@ -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);