staging: tidspbridge: remove node_init() and node_exit()
[pandora-kernel.git] / drivers / staging / tidspbridge / pmgr / dspapi.c
index 971e839..a5f1f65 100644 (file)
@@ -273,8 +273,6 @@ void api_exit(void)
                io_exit();
                strm_exit();
                disp_exit();
-               node_exit();
-               proc_exit();
                mgr_exit();
                rmm_exit();
        }
@@ -289,13 +287,11 @@ bool api_init(void)
 {
        bool ret = true;
        bool fdev, fchnl, fmsg, fio;
-       bool fmgr, fproc, fnode, fdisp, fstrm, frmm;
+       bool fmgr, fdisp, fstrm, frmm;
 
        if (api_c_refs == 0) {
                /* initialize driver and other modules */
                fmgr = mgr_init();
-               fproc = proc_init();
-               fnode = node_init();
                fdisp = disp_init();
                fstrm = strm_init();
                frmm = rmm_init();
@@ -304,7 +300,7 @@ bool api_init(void)
                fio = io_init();
                fdev = dev_init();
                ret = fdev && fchnl && fmsg && fio;
-               ret = ret && fmgr && fproc && frmm;
+               ret = ret && fmgr && frmm;
                if (!ret) {
 
                        if (fmgr)
@@ -313,12 +309,6 @@ bool api_init(void)
                        if (fstrm)
                                strm_exit();
 
-                       if (fproc)
-                               proc_exit();
-
-                       if (fnode)
-                               node_exit();
-
                        if (fdisp)
                                disp_exit();