From ca17a4f0bfc48feb3b4eb3f671a82adfe89530fb Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 10 Jul 2010 11:19:42 -0300 Subject: [PATCH] V4L/DVB: IR/mceusb: remove unused vars from gen1 init MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/IR/mceusb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/IR/mceusb.c b/drivers/media/IR/mceusb.c index 3c056a8..e368b82 100644 --- a/drivers/media/IR/mceusb.c +++ b/drivers/media/IR/mceusb.c @@ -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; -- 2.7.4