staging: tidspbridge: remove rmm_init() and rmm_exit()
[pandora-kernel.git] / drivers / staging / tidspbridge / rmgr / rmm.c
index 55acfcd..52187bd 100644 (file)
@@ -80,8 +80,6 @@ struct rmm_target_obj {
        struct list_head ovly_list;     /* List of overlay memory in use */
 };
 
-static u32 refs;               /* module reference count */
-
 static bool alloc_block(struct rmm_target_obj *target, u32 segid, u32 size,
                        u32 align, u32 *dsp_address);
 static bool free_block(struct rmm_target_obj *target, u32 segid, u32 addr,
@@ -259,14 +257,6 @@ void rmm_delete(struct rmm_target_obj *target)
        kfree(target);
 }
 
-/*
- *  ======== rmm_exit ========
- */
-void rmm_exit(void)
-{
-       refs--;
-}
-
 /*
  *  ======== rmm_free ========
  */
@@ -299,16 +289,6 @@ bool rmm_free(struct rmm_target_obj *target, u32 segid, u32 dsp_addr, u32 size,
        return ret;
 }
 
-/*
- *  ======== rmm_init ========
- */
-bool rmm_init(void)
-{
-       refs++;
-
-       return true;
-}
-
 /*
  *  ======== rmm_stat ========
  */