diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-26 14:47:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-26 14:47:44 -0300 |
commit | b83e521a82f61e3457c258da93f43ceae36daec3 (patch) | |
tree | 47407d6c63aff85c95af85971df2f66ae508e1bf /linux/drivers/media/dvb/frontends/cx24116.c | |
parent | a43bb4e65ce2015ec503f7933fbd136271d80c34 (diff) | |
parent | f1b096388308b69fdc4fe54e5952a7f7beb845bb (diff) | |
download | mediapointer-dvb-s2-b83e521a82f61e3457c258da93f43ceae36daec3.tar.gz mediapointer-dvb-s2-b83e521a82f61e3457c258da93f43ceae36daec3.tar.bz2 |
merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/cx24116.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/cx24116.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24116.c b/linux/drivers/media/dvb/frontends/cx24116.c index 8301a9865..b5ff0b6a8 100644 --- a/linux/drivers/media/dvb/frontends/cx24116.c +++ b/linux/drivers/media/dvb/frontends/cx24116.c @@ -1112,13 +1112,10 @@ struct dvb_frontend *cx24116_attach(const struct cx24116_config *config, dprintk("%s\n", __func__); /* allocate memory for the internal state */ - state = kmalloc(sizeof(struct cx24116_state), GFP_KERNEL); + state = kzalloc(sizeof(struct cx24116_state), GFP_KERNEL); if (state == NULL) goto error1; - /* setup the state */ - memset(state, 0, sizeof(struct cx24116_state)); - state->config = config; state->i2c = i2c; |