Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205983
b: refs/heads/master
c: fe15ea8
h: refs/heads/master
i:
  205981: e7ae37c
  205979: f8a9eee
  205975: 266676b
  205967: 7202279
  205951: e1ad8db
v: v3
  • Loading branch information
Armando Uribe authored and Greg Kroah-Hartman committed Jul 26, 2010
1 parent b4bcdf0 commit 7c5b23d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28eeb6a737e17c65119354ef7c149746ca0591c0
refs/heads/master: fe15ea8b86f19bf7c4d1a4ea7452f1bb04b8933a
7 changes: 0 additions & 7 deletions trunk/drivers/staging/tidspbridge/pmgr/cod.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
/* ----------------------------------- This */
#include <dspbridge/cod.h>

/* magic number for handle validation */
#define MAGIC 0xc001beef

/*
* ======== cod_manager ========
*/
Expand All @@ -58,7 +55,6 @@ struct cod_manager {
struct dbll_fxns fxns;
struct dbll_attrs attrs;
char sz_zl_file[COD_MAXPATHLENGTH];
u32 ul_magic;
};

/*
Expand Down Expand Up @@ -234,8 +230,6 @@ int cod_create(struct cod_manager **mgr, char *str_zl_file,
if (mgr_new == NULL)
return -ENOMEM;

mgr_new->ul_magic = MAGIC;

/* Set up loader functions */
mgr_new->fxns = ldr_fxns;

Expand Down Expand Up @@ -295,7 +289,6 @@ void cod_delete(struct cod_manager *cod_mgr_obj)
cod_mgr_obj->fxns.delete_fxn(cod_mgr_obj->target);
cod_mgr_obj->fxns.exit_fxn();
}
cod_mgr_obj->ul_magic = ~MAGIC;
kfree(cod_mgr_obj);
}

Expand Down

0 comments on commit 7c5b23d

Please sign in to comment.