Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333828
b: refs/heads/master
c: 0df1042
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Mauro Carvalho Chehab committed Oct 6, 2012
1 parent 2976eeb commit 96bc1e6
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: e4533e65b3a4194c859e79d8cf9659f1cf1705aa
refs/heads/master: 0df1042751b0047966834a33e81bb29ac95984e9
8 changes: 2 additions & 6 deletions trunk/drivers/media/dvb-frontends/tda665x.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
struct dvb_tuner_info *info;

state = kzalloc(sizeof(struct tda665x_state), GFP_KERNEL);
if (state == NULL)
goto exit;
if (!state)
return NULL;

state->config = config;
state->i2c = i2c;
Expand All @@ -246,10 +246,6 @@ struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
printk(KERN_DEBUG "%s: Attaching TDA665x (%s) tuner\n", __func__, info->name);

return fe;

exit:
kfree(state);
return NULL;
}
EXPORT_SYMBOL(tda665x_attach);

Expand Down

0 comments on commit 96bc1e6

Please sign in to comment.