aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/mdtv/smscoreapi.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-05-19 19:09:21 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:19:53 -0300
commitc6465799c38762b963bb819e033d2a56a3d3c233 (patch)
tree73548c0e8a8c1475f0be488ca089d5bae8be024e /drivers/media/mdtv/smscoreapi.c
parent464a77dd8845fc8f3beeaad24478081576c4b83a (diff)
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>
Diffstat (limited to 'drivers/media/mdtv/smscoreapi.c')
-rw-r--r--drivers/media/mdtv/smscoreapi.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/media/mdtv/smscoreapi.c b/drivers/media/mdtv/smscoreapi.c
index a354912391a..31531948379 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_map_common_buffer(smscore_device_t *coredev, struct vm_area_struct *
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 @@ int smscore_module_init(void)
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 @@ int smscore_module_init(void)
void smscore_module_exit(void)
{
- smschar_terminate();
-
kmutex_lock(&g_smscore_deviceslock);
while (!list_empty(&g_smscore_notifyees))
{