Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205652
b: refs/heads/master
c: 6167944
h: refs/heads/master
v: v3
  • Loading branch information
Scott Kidder authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent 4e65981 commit 9de44c1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ef079a76fe78d713eb695a222601fccb3e706f0f
refs/heads/master: 6167944d8a28c6a405babc4ae0f830be80a13fbb
9 changes: 3 additions & 6 deletions trunk/drivers/staging/crystalhd/crystalhd_lnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,8 @@ static int chd_dec_fetch_cdata(struct crystalhd_adp *adp, struct crystalhd_ioctl
if (rc) {
BCMLOG_ERR("failed to pull add_cdata sz:%x ua_off:%x\n",
io->add_cdata_sz, (unsigned int)ua_off);
if (io->add_cdata) {
kfree(io->add_cdata);
io->add_cdata = NULL;
}
kfree(io->add_cdata);
io->add_cdata = NULL;
return -ENODATA;
}

Expand Down Expand Up @@ -435,8 +433,7 @@ static void __devexit chd_dec_release_chdev(struct crystalhd_adp *adp)
/* Clear iodata pool.. */
do {
temp = chd_dec_alloc_iodata(adp, 0);
if (temp)
kfree(temp);
kfree(temp);
} while (temp);

crystalhd_delete_elem_pool(adp);
Expand Down

0 comments on commit 9de44c1

Please sign in to comment.