aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/include
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2012-03-08 19:03:42 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-09 16:21:07 -0500
commit974f9cd50ae72c02490298372a2a64fb47c4de91 (patch)
treec5ef51177c7958147dd7adcea6654a5f2ce0f2fd /drivers/staging/tidspbridge/include
parent311abd9ac44f72f4d10adaaf3af1c273b0f71db8 (diff)
staging: tidspbridge: remove rmm_init() and rmm_exit()
The rmm module has a rmm_init() and a rmm_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/include')
-rw-r--r--drivers/staging/tidspbridge/include/dspbridge/rmm.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/rmm.h b/drivers/staging/tidspbridge/include/dspbridge/rmm.h
index baea536681e..f7a4dc8ecb4 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/rmm.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/rmm.h
@@ -115,18 +115,6 @@ extern int rmm_create(struct rmm_target_obj **target_obj,
115extern void rmm_delete(struct rmm_target_obj *target); 115extern void rmm_delete(struct rmm_target_obj *target);
116 116
117/* 117/*
118 * ======== rmm_exit ========
119 * Exit the RMM module
120 *
121 * Parameters:
122 * Returns:
123 * Requires:
124 * rmm_init successfully called.
125 * Ensures:
126 */
127extern void rmm_exit(void);
128
129/*
130 * ======== rmm_free ======== 118 * ======== rmm_free ========
131 * Free or unreserve memory allocated through rmm_alloc(). 119 * Free or unreserve memory allocated through rmm_alloc().
132 * 120 *
@@ -148,19 +136,6 @@ extern bool rmm_free(struct rmm_target_obj *target, u32 segid, u32 dsp_addr,
148 u32 size, bool reserved); 136 u32 size, bool reserved);
149 137
150/* 138/*
151 * ======== rmm_init ========
152 * Initialize the RMM module
153 *
154 * Parameters:
155 * Returns:
156 * TRUE: Success.
157 * FALSE: Failure.
158 * Requires:
159 * Ensures:
160 */
161extern bool rmm_init(void);
162
163/*
164 * ======== rmm_stat ======== 139 * ======== rmm_stat ========
165 * Obtain memory segment status 140 * Obtain memory segment status
166 * 141 *