提交 6675167c 编写于 作者: U Uri Shkolnik 提交者: 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: NUri Shkolnik <uris@siano-ms.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 4db989f7
......@@ -1590,24 +1590,11 @@ static int __init smscore_module_init(void)
INIT_LIST_HEAD(&g_smscore_registry);
kmutex_init(&g_smscore_registrylock);
return rc;
sms_debug("rc %d", rc);
return rc;
}
static void __exit smscore_module_exit(void)
{
kmutex_lock(&g_smscore_deviceslock);
while (!list_empty(&g_smscore_notifyees)) {
struct smscore_device_notifyee_t *notifyee =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册