Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333830
b: refs/heads/master
c: 6f0fdc4
h: refs/heads/master
v: v3
  • Loading branch information
Peter Senna Tschudin authored and Mauro Carvalho Chehab committed Oct 6, 2012
1 parent 130d595 commit 9cf36fb
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: 0ae13e9e673786985b6910d5a051bc7cea038ea6
refs/heads/master: 6f0fdc498e30ce34da559f43e359c4b517cb5b8b
8 changes: 2 additions & 6 deletions trunk/drivers/media/tuners/mt2063.c
Original file line number Diff line number Diff line change
Expand Up @@ -2249,8 +2249,8 @@ struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,
dprintk(2, "\n");

state = kzalloc(sizeof(struct mt2063_state), GFP_KERNEL);
if (state == NULL)
goto error;
if (!state)
return NULL;

state->config = config;
state->i2c = i2c;
Expand All @@ -2261,10 +2261,6 @@ struct dvb_frontend *mt2063_attach(struct dvb_frontend *fe,

printk(KERN_INFO "%s: Attaching MT2063\n", __func__);
return fe;

error:
kfree(state);
return NULL;
}
EXPORT_SYMBOL_GPL(mt2063_attach);

Expand Down

0 comments on commit 9cf36fb

Please sign in to comment.