diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2012-03-08 19:03:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-09 16:21:07 -0500 |
commit | d071c0e9cad589a42a6c1739b088acb9d4724481 (patch) | |
tree | 08b22de91a340e6d9740a7c1824f334aea255bca /drivers/staging/tidspbridge/include | |
parent | a71aa396eec042606b9722745d4aa4159bde2e87 (diff) |
staging: tidspbridge: remove dmm_init() and dmm_exit()
The dmm module has a dmm_init() and a dmm_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/dmm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/dmm.h b/drivers/staging/tidspbridge/include/dspbridge/dmm.h index 6c58335c5f6..c3487be8fcf 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dmm.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dmm.h | |||
@@ -61,10 +61,6 @@ extern int dmm_create(struct dmm_object **dmm_manager, | |||
61 | struct dev_object *hdev_obj, | 61 | struct dev_object *hdev_obj, |
62 | const struct dmm_mgrattrs *mgr_attrts); | 62 | const struct dmm_mgrattrs *mgr_attrts); |
63 | 63 | ||
64 | extern bool dmm_init(void); | ||
65 | |||
66 | extern void dmm_exit(void); | ||
67 | |||
68 | extern int dmm_create_tables(struct dmm_object *dmm_mgr, | 64 | extern int dmm_create_tables(struct dmm_object *dmm_mgr, |
69 | u32 addr, u32 size); | 65 | u32 addr, u32 size); |
70 | 66 | ||