Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242104
b: refs/heads/master
c: 7e27094
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Mauro Carvalho Chehab committed Mar 22, 2011
1 parent b932fcd commit f9b094d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 35d9f510b67b10338161aba6229d4f55b4000f5b
refs/heads/master: 7e270941c8f0a11224e383d3d38946451f66fbbf
10 changes: 5 additions & 5 deletions trunk/drivers/media/dvb/frontends/zl10036.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,16 +463,16 @@ struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe,
const struct zl10036_config *config,
struct i2c_adapter *i2c)
{
struct zl10036_state *state = NULL;
struct zl10036_state *state;
int ret;

if (NULL == config) {
if (!config) {
printk(KERN_ERR "%s: no config specified", __func__);
goto error;
return NULL;
}

state = kzalloc(sizeof(struct zl10036_state), GFP_KERNEL);
if (NULL == state)
if (!state)
return NULL;

state->config = config;
Expand Down Expand Up @@ -507,7 +507,7 @@ struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe,
return fe;

error:
zl10036_release(fe);
kfree(state);
return NULL;
}
EXPORT_SYMBOL(zl10036_attach);
Expand Down

0 comments on commit f9b094d

Please sign in to comment.