V4L/DVB: IR/mceusb: remove unused vars from gen1 init
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 10 Jul 2010 14:19:42 +0000 (11:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:42:42 +0000 (16:42 -0300)
Prior init unification/simplification patch made these unused, forgot
to remove them, so this silences:

drivers/media/IR/mceusb.c: In function ‘mceusb_gen1_init’:
drivers/media/IR/mceusb.c:769: warning: unused variable ‘partial’
drivers/media/IR/mceusb.c:768: warning: unused variable ‘i’

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/mceusb.c

index 3c056a8fba7f97b9d8bd2c929e54e50f87dc1a5a..e368b8213c3bfffef8f775998fb5ee0891a02bc5 100644 (file)
@@ -765,8 +765,7 @@ static void mceusb_dev_recv(struct urb *urb, struct pt_regs *regs)
 
 static void mceusb_gen1_init(struct mceusb_dev *ir)
 {
-       int i, ret;
-       int partial = 0;
+       int ret;
        struct device *dev = ir->dev;
        char *data;