summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/pmgr
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2012-03-09 04:03:40 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-10 01:21:06 +0400
commit2f69a43b8f5befc3d110c22a2823170f720432ff (patch)
treeb34f86cadd943844988f0df9926578e8c6d0fa35 /drivers/staging/tidspbridge/pmgr
parent18ff159260bac8b62bc12bcdfe2aaf1eeb1f2b42 (diff)
downloadlinux-2f69a43b8f5befc3d110c22a2823170f720432ff.tar.xz
staging: tidspbridge: remove disp_init() and disp_exit()
The disp module has a disp_init() and a disp_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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dspapi.c b/drivers/staging/tidspbridge/pmgr/dspapi.c
index a5f1f6514f88..b1a99f76694c 100644
--- a/drivers/staging/tidspbridge/pmgr/dspapi.c
+++ b/drivers/staging/tidspbridge/pmgr/dspapi.c
@@ -272,7 +272,6 @@ void api_exit(void)
msg_exit();
io_exit();
strm_exit();
- disp_exit();
mgr_exit();
rmm_exit();
}
@@ -287,12 +286,11 @@ bool api_init(void)
{
bool ret = true;
bool fdev, fchnl, fmsg, fio;
- bool fmgr, fdisp, fstrm, frmm;
+ bool fmgr, fstrm, frmm;
if (api_c_refs == 0) {
/* initialize driver and other modules */
fmgr = mgr_init();
- fdisp = disp_init();
fstrm = strm_init();
frmm = rmm_init();
fchnl = chnl_init();
@@ -309,9 +307,6 @@ bool api_init(void)
if (fstrm)
strm_exit();
- if (fdisp)
- disp_exit();
-
if (fchnl)
chnl_exit();