summaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge/pmgr/cod.c
diff options
context:
space:
mode:
authorArmando Uribe <x0095078@ti.com>2010-12-17 01:18:31 -0600
committerOmar Ramirez Luna <omar.ramirez@ti.com>2011-02-04 20:11:58 -0600
commit5db9e2bf44ec0dcf36e513499c77a294a9dc2774 (patch)
treed6a6af6c64c013c71dd96042e37b0d7c44ce0cd2 /drivers/staging/tidspbridge/pmgr/cod.c
parent57e6a9f2a8472493fe407227b047f5284d8a4540 (diff)
downloadop-kernel-dev-5db9e2bf44ec0dcf36e513499c77a294a9dc2774.zip
op-kernel-dev-5db9e2bf44ec0dcf36e513499c77a294a9dc2774.tar.gz
staging: tidspbridge: Remove unused structs
Remove unused structs and its dependencies, like references in other structs or as arguments of certain functions. 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/cod.c')
-rw-r--r--drivers/staging/tidspbridge/pmgr/cod.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/cod.c b/drivers/staging/tidspbridge/pmgr/cod.c
index db29a19..17ea57d 100644
--- a/drivers/staging/tidspbridge/pmgr/cod.c
+++ b/drivers/staging/tidspbridge/pmgr/cod.c
@@ -33,9 +33,6 @@
/* ----------------------------------- Trace & Debug */
#include <dspbridge/dbc.h>
-/* ----------------------------------- OS Adaptation Layer */
-#include <dspbridge/ldr.h>
-
/* ----------------------------------- Platform Manager */
/* Include appropriate loader header file */
#include <dspbridge/dbll.h>
@@ -51,7 +48,6 @@ struct cod_manager {
struct dbll_library_obj *base_lib;
bool loaded; /* Base library loaded? */
u32 ul_entry;
- struct ldr_module *dll_obj;
struct dbll_fxns fxns;
struct dbll_attrs attrs;
char sz_zl_file[COD_MAXPATHLENGTH];
@@ -206,8 +202,7 @@ void cod_close(struct cod_libraryobj *lib)
* dynamically loaded object files.
*
*/
-int cod_create(struct cod_manager **mgr, char *str_zl_file,
- const struct cod_attrs *attrs)
+int cod_create(struct cod_manager **mgr, char *str_zl_file)
{
struct cod_manager *mgr_new;
struct dbll_attrs zl_attrs;
@@ -219,10 +214,6 @@ int cod_create(struct cod_manager **mgr, char *str_zl_file,
/* assume failure */
*mgr = NULL;
- /* we don't support non-default attrs yet */
- if (attrs != NULL)
- return -ENOSYS;
-
mgr_new = kzalloc(sizeof(struct cod_manager), GFP_KERNEL);
if (mgr_new == NULL)
return -ENOMEM;
OpenPOWER on IntegriCloud