summaryrefslogtreecommitdiff
path: root/linux/drivers/media/mdtv/smscoreapi.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-05-19 15:09:21 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-05-19 15:09:21 -0400
commitac971eee3fdc04962b491168bae7ca76c48620d6 (patch)
tree5cf4fb80eef03014f5457c6d10471c24a094e9c6 /linux/drivers/media/mdtv/smscoreapi.c
parent23c1df9d4f6015ceea5483588f7ecde1c647f5bb (diff)
downloadmediapointer-dvb-s2-ac971eee3fdc04962b491168bae7ca76c48620d6.tar.gz
mediapointer-dvb-s2-ac971eee3fdc04962b491168bae7ca76c48620d6.tar.bz2
sms1xxx: remove smschar.o
From: Steven Toth <stoth@hauppauge.com> Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/mdtv/smscoreapi.c')
-rw-r--r--linux/drivers/media/mdtv/smscoreapi.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/linux/drivers/media/mdtv/smscoreapi.c b/linux/drivers/media/mdtv/smscoreapi.c
index 27572f04a..9358c04a2 100644
--- a/linux/drivers/media/mdtv/smscoreapi.c
+++ b/linux/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;
@@ -1155,7 +1153,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);
@@ -1164,8 +1162,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;
@@ -1173,8 +1169,6 @@ int smscore_module_init(void)
void smscore_module_exit(void)
{
- smschar_terminate();
-
kmutex_lock(&g_smscore_deviceslock);
while (!list_empty(&g_smscore_notifyees))
{