V4L/DVB (8262): sms1xxx: remove smschar.o
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
diff --git a/drivers/media/mdtv/smscoreapi.c b/drivers/media/mdtv/smscoreapi.c
index a354912..3153194 100644
--- a/drivers/media/mdtv/smscoreapi.c
+++ b/drivers/media/mdtv/smscoreapi.c
@@ -34,8 +34,6 @@
#include "smscoreapi.h"
#include "smstypes.h"
-#include "smschar.h"
-
typedef struct _smscore_device_notifyee
{
struct list_head entry;
@@ -1100,7 +1098,7 @@
int smscore_module_init(void)
{
- int rc;
+ int rc = 0;
INIT_LIST_HEAD(&g_smscore_notifyees);
INIT_LIST_HEAD(&g_smscore_devices);
@@ -1109,8 +1107,6 @@
INIT_LIST_HEAD(&g_smscore_registry);
kmutex_init(&g_smscore_registrylock);
- rc = smschar_initialize();
-
printk(KERN_INFO "%s, rc %d\n", __FUNCTION__, rc);
return rc;
@@ -1118,8 +1114,6 @@
void smscore_module_exit(void)
{
- smschar_terminate();
-
kmutex_lock(&g_smscore_deviceslock);
while (!list_empty(&g_smscore_notifyees))
{