summaryrefslogtreecommitdiff
path: root/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorDarron Broad <darron@kewl.org>2008-10-15 20:26:34 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 17:29:59 -0300
commit96b7a1a838fb5b8746fc22f4ff3cef358bf59f35 (patch)
tree01262ee7ba5500fdd227ef87968cb401c2206b1a /drivers/media/video/saa7134/saa7134-dvb.c
parent745632147d54cd4db6812045351510ebd3981a24 (diff)
V4L/DVB (9271): videobuf: data storage optimisation (2)
To optimise data storage even further one other redundant var has been removed. This also removes a redundant assignment. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c
index 7d95a6928772..8c46115d4c79 100644
--- a/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/drivers/media/video/saa7134/saa7134-dvb.c
@@ -958,7 +958,7 @@ static int dvb_init(struct saa7134_dev *dev)
printk(KERN_INFO "%s() allocating 1 frontend\n", __func__);
- if (videobuf_dvb_alloc_frontend(dev, &dev->frontends, 1) == NULL) {
+ if (videobuf_dvb_alloc_frontend(&dev->frontends, 1) == NULL) {
printk(KERN_ERR "%s() failed to alloc\n", __func__);
return -ENOMEM;
}