diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2012-03-09 04:03:38 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-10 01:21:06 +0400 |
commit | 02a63f9dbc4fec17e441206ddcc2327242fac3fc (patch) | |
tree | 12dc29ac483a8fa72abbbc6106b96d7d3dcee080 /drivers/staging/tidspbridge/pmgr | |
parent | d4040fadc0b8bc109268cf278bab6f2132e7ab0f (diff) | |
download | linux-02a63f9dbc4fec17e441206ddcc2327242fac3fc.tar.xz |
staging: tidspbridge: remove proc_init() and proc_exit()
The proc module has a proc_init() and a proc_exit() whose only purpose
is to keep a reference counting which is not used at all.
This patch removes these functions and the reference count variable.
There is no functional changes.
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/dspapi.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dspapi.c b/drivers/staging/tidspbridge/pmgr/dspapi.c index 971e8390a2e6..7c20a0f1c1a4 100644 --- a/drivers/staging/tidspbridge/pmgr/dspapi.c +++ b/drivers/staging/tidspbridge/pmgr/dspapi.c @@ -274,7 +274,6 @@ void api_exit(void) strm_exit(); disp_exit(); node_exit(); - proc_exit(); mgr_exit(); rmm_exit(); } @@ -289,12 +288,11 @@ bool api_init(void) { bool ret = true; bool fdev, fchnl, fmsg, fio; - bool fmgr, fproc, fnode, fdisp, fstrm, frmm; + bool fmgr, fnode, 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(); @@ -304,7 +302,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,9 +311,6 @@ bool api_init(void) if (fstrm) strm_exit(); - if (fproc) - proc_exit(); - if (fnode) node_exit(); |