summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/pmgr/dspapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/dspapi.c')
-rw-r--r--drivers/staging/tidspbridge/pmgr/dspapi.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dspapi.c b/drivers/staging/tidspbridge/pmgr/dspapi.c
index 0a55465b625..5b9dcad7e4b 100644
--- a/drivers/staging/tidspbridge/pmgr/dspapi.c
+++ b/drivers/staging/tidspbridge/pmgr/dspapi.c
@@ -268,7 +268,6 @@ void api_exit(void)
if (api_c_refs == 0) {
/* Release all modules initialized in api_init(). */
dev_exit();
- chnl_exit();
msg_exit();
io_exit();
mgr_exit();
@@ -283,26 +282,22 @@ void api_exit(void)
bool api_init(void)
{
bool ret = true;
- bool fdev, fchnl, fmsg, fio;
+ bool fdev, fmsg, fio;
bool fmgr;
if (api_c_refs == 0) {
/* initialize driver and other modules */
fmgr = mgr_init();
- fchnl = chnl_init();
fmsg = msg_mod_init();
fio = io_init();
fdev = dev_init();
- ret = fdev && fchnl && fmsg && fio;
+ ret = fdev && fmsg && fio;
ret = ret && fmgr;
if (!ret) {
if (fmgr)
mgr_exit();
- if (fchnl)
- chnl_exit();
-
if (fmsg)
msg_exit();