mirror of
https://github.com/torvalds/linux
synced 2024-10-27 13:48:49 +00:00
V4L/DVB: ir-core: fix double spinlock init in drivers/media/IR/rc-map.c
Fix a double initialization of the same spinlock in drivers/media/IR/rc-map.c. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
15100d891a
commit
d46844300c
|
@ -295,8 +295,6 @@ static int __init ir_core_init(void)
|
||||||
|
|
||||||
/* Initialize/load the decoders/keymap code that will be used */
|
/* Initialize/load the decoders/keymap code that will be used */
|
||||||
ir_raw_init();
|
ir_raw_init();
|
||||||
rc_map_init();
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,8 +81,3 @@ void ir_unregister_map(struct rc_keymap *map)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(ir_unregister_map);
|
EXPORT_SYMBOL_GPL(ir_unregister_map);
|
||||||
|
|
||||||
void rc_map_init(void)
|
|
||||||
{
|
|
||||||
spin_lock_init(&rc_map_lock);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue