Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289234
b: refs/heads/master
c: 5204133
h: refs/heads/master
v: v3
  • Loading branch information
Víctor Manuel Jáquez Leal authored and Greg Kroah-Hartman committed Mar 9, 2012
1 parent 0476596 commit 336e11f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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: a05c5dc3fc73c11fbb06c493b1ae6d77c4ac172e
refs/heads/master: 52041338797a9847f8482cfa2fc8d8c40c629c3a
9 changes: 2 additions & 7 deletions trunk/drivers/staging/tidspbridge/rmgr/mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,14 +319,9 @@ int mgr_get_dcd_handle(struct mgr_object *mgr_handle,
bool mgr_init(void)
{
bool ret = true;
bool init_dcd = false;

if (refs == 0) {
init_dcd = dcd_init(); /* DCD Module */

if (!init_dcd)
ret = false;
}
if (refs == 0)
ret = dcd_init(); /* DCD Module */

if (ret)
refs++;
Expand Down

0 comments on commit 336e11f

Please sign in to comment.