Commit 6675167c authored by Uri Shkolnik's avatar Uri Shkolnik Committed by Mauro Carvalho Chehab

V4L/DVB (11890): Siano: smscore - remove redundant code

remove redundant code, which in the past handled the
various components (now independent modules) registrations.
Signed-off-by: default avatarUri Shkolnik <uris@siano-ms.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4db989f7
...@@ -1590,24 +1590,11 @@ static int __init smscore_module_init(void) ...@@ -1590,24 +1590,11 @@ static int __init smscore_module_init(void)
INIT_LIST_HEAD(&g_smscore_registry); INIT_LIST_HEAD(&g_smscore_registry);
kmutex_init(&g_smscore_registrylock); kmutex_init(&g_smscore_registrylock);
return rc;
sms_debug("rc %d", rc);
return rc; return rc;
} }
static void __exit smscore_module_exit(void) static void __exit smscore_module_exit(void)
{ {
kmutex_lock(&g_smscore_deviceslock); kmutex_lock(&g_smscore_deviceslock);
while (!list_empty(&g_smscore_notifyees)) { while (!list_empty(&g_smscore_notifyees)) {
struct smscore_device_notifyee_t *notifyee = struct smscore_device_notifyee_t *notifyee =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment