V4L/DVB (13479): cxusb: fix compile warning
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 25 Nov 2009 17:29:33 +0000 (14:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:42:06 +0000 (18:42 -0200)
Fix this trivial compile warning:

v4l/cxusb.c:1195: warning: unused variable 'n'

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/cxusb.c

index 542de17..05fb28e 100644 (file)
@@ -1189,7 +1189,6 @@ static struct atbm8830_config mygica_d689_atbm8830_cfg = {
 static int cxusb_mygica_d689_frontend_attach(struct dvb_usb_adapter *adap)
 {
        struct dvb_usb_device *d = adap->dev;
-       int n;
 
        /* Select required USB configuration */
        if (usb_set_interface(d->udev, 0, 0) < 0)