aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
authorDarron Broad <darron@kewl.org>2008-10-15 19:26:34 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-17 16:29:59 -0400
commit96b7a1a838fb5b8746fc22f4ff3cef358bf59f35 (patch)
tree01262ee7ba5500fdd227ef87968cb401c2206b1a /drivers/media/video/cx88
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/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c
index 512041451d38..6df5cf314186 100644
--- a/drivers/media/video/cx88/cx88-mpeg.c
+++ b/drivers/media/video/cx88/cx88-mpeg.c
@@ -807,7 +807,7 @@ static int __devinit cx8802_probe(struct pci_dev *pci_dev,
807 printk(KERN_INFO "%s() allocating %d frontend(s)\n", __func__, core->board.num_frontends); 807 printk(KERN_INFO "%s() allocating %d frontend(s)\n", __func__, core->board.num_frontends);
808 808
809 for (i = 1; i <= core->board.num_frontends; i++) { 809 for (i = 1; i <= core->board.num_frontends; i++) {
810 demod = videobuf_dvb_alloc_frontend(dev, &dev->frontends, i); 810 demod = videobuf_dvb_alloc_frontend(&dev->frontends, i);
811 if(demod == NULL) { 811 if(demod == NULL) {
812 printk(KERN_ERR "%s() failed to alloc\n", __func__); 812 printk(KERN_ERR "%s() failed to alloc\n", __func__);
813 err = -ENOMEM; 813 err = -ENOMEM;