summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/pmgr/dbll.c
diff options
context:
space:
mode:
authorArmando Uribe <x0095078@ti.com>2010-12-17 10:18:30 +0300
committerOmar Ramirez Luna <omar.ramirez@ti.com>2011-02-05 05:11:56 +0300
commit57e6a9f2a8472493fe407227b047f5284d8a4540 (patch)
treea6deba0b17074515a7c72bfce17e237d6790179a /drivers/staging/tidspbridge/pmgr/dbll.c
parent2c36fac48587265311b015b7a36b2b860cf21ccd (diff)
downloadlinux-57e6a9f2a8472493fe407227b047f5284d8a4540.tar.xz
staging: tidspbridge: Remove unused functions
Remove functions that are not used at all, also remove the dependencies of this functions like struct members, comments and calls. Signed-off-by: Armando Uribe <x0095078@ti.com> Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/dbll.c')
-rw-r--r--drivers/staging/tidspbridge/pmgr/dbll.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dbll.c b/drivers/staging/tidspbridge/pmgr/dbll.c
index 878aa50718ee..2f46b0603d21 100644
--- a/drivers/staging/tidspbridge/pmgr/dbll.c
+++ b/drivers/staging/tidspbridge/pmgr/dbll.c
@@ -568,18 +568,6 @@ int dbll_load(struct dbll_library_obj *lib, dbll_flags flags,
}
/*
- * ======== dbll_load_sect ========
- * Not supported for COFF.
- */
-int dbll_load_sect(struct dbll_library_obj *zl_lib, char *sec_name,
- struct dbll_attrs *attrs)
-{
- DBC_REQUIRE(zl_lib);
-
- return -ENOSYS;
-}
-
-/*
* ======== dbll_open ========
*/
int dbll_open(struct dbll_tar_obj *target, char *file, dbll_flags flags,
@@ -794,22 +782,6 @@ func_cont:
}
/*
- * ======== dbll_set_attrs ========
- * Set the attributes of the target.
- */
-void dbll_set_attrs(struct dbll_tar_obj *target, struct dbll_attrs *pattrs)
-{
- struct dbll_tar_obj *zl_target = (struct dbll_tar_obj *)target;
- DBC_REQUIRE(refs > 0);
- DBC_REQUIRE(zl_target);
- DBC_REQUIRE(pattrs != NULL);
-
- if ((pattrs != NULL) && (zl_target != NULL))
- zl_target->attrs = *pattrs;
-
-}
-
-/*
* ======== dbll_unload ========
*/
void dbll_unload(struct dbll_library_obj *lib, struct dbll_attrs *attrs)
@@ -848,19 +820,6 @@ func_end:
}
/*
- * ======== dbll_unload_sect ========
- * Not supported for COFF.
- */
-int dbll_unload_sect(struct dbll_library_obj *lib, char *sec_name,
- struct dbll_attrs *attrs)
-{
- DBC_REQUIRE(refs > 0);
- DBC_REQUIRE(sec_name != NULL);
-
- return -ENOSYS;
-}
-
-/*
* ======== dof_close ========
*/
static void dof_close(struct dbll_library_obj *zl_lib)