Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206014
b: refs/heads/master
c: 3448c54
h: refs/heads/master
v: v3
  • Loading branch information
Ernesto Ramos authored and Greg Kroah-Hartman committed Jul 28, 2010
1 parent 4906c0b commit 120eb80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 3fee78f6becabffdcc46719e8bf13567cab73beb
refs/heads/master: 3448c5481cc4ae8bf19fae5002f0c4e43007da40
8 changes: 2 additions & 6 deletions trunk/drivers/staging/tidspbridge/pmgr/cmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -992,16 +992,12 @@ int cmm_xlator_create(struct cmm_xlatorobject **xlator,
int cmm_xlator_delete(struct cmm_xlatorobject *xlator, bool force)
{
struct cmm_xlator *xlator_obj = (struct cmm_xlator *)xlator;
int status = 0;

DBC_REQUIRE(refs > 0);

if (xlator_obj)
kfree(xlator_obj);
else
status = -EFAULT;
kfree(xlator_obj);

return status;
return 0;
}

/*
Expand Down

0 comments on commit 120eb80

Please sign in to comment.