summaryrefslogtreecommitdiff
path: root/drivers/media/rc/rc-ir-raw.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2015-11-21 17:55:03 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-03 20:01:11 +0300
commitc1500ba0b61e9abf95e0e7ecd3c4ad877f019abe (patch)
tree4b25abb8b81e5c146f9728a05de9df52ea981c7c /drivers/media/rc/rc-ir-raw.c
parent94c1733468664255e2431686155114c9b87c25e8 (diff)
downloadlinux-c1500ba0b61e9abf95e0e7ecd3c4ad877f019abe.tar.xz
[media] media: rc: remove unneeded code
Now that that the decoder modules are loaded on-demand we can move loading the lirc module to rc_register_device directly and remove unneeded functions and comments. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Diffstat (limited to 'drivers/media/rc/rc-ir-raw.c')
-rw-r--r--drivers/media/rc/rc-ir-raw.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/rc/rc-ir-raw.c b/drivers/media/rc/rc-ir-raw.c
index c6433e8f03b8..c69807fe2fef 100644
--- a/drivers/media/rc/rc-ir-raw.c
+++ b/drivers/media/rc/rc-ir-raw.c
@@ -360,13 +360,3 @@ void ir_raw_handler_unregister(struct ir_raw_handler *ir_raw_handler)
mutex_unlock(&ir_raw_handler_lock);
}
EXPORT_SYMBOL(ir_raw_handler_unregister);
-
-void ir_raw_init(void)
-{
- /* Load the decoder modules */
- load_lirc_codec();
-
- /* If needed, we may later add some init code. In this case,
- it is needed to change the CONFIG_MODULE test at rc-core.h
- */
-}