From: Mauro Carvalho Chehab Date: Sat, 10 Jul 2010 14:19:42 +0000 (-0300) Subject: V4L/DVB: IR/mceusb: remove unused vars from gen1 init X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca17a4f0bfc48feb3b4eb3f671a82adfe89530fb;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB: IR/mceusb: remove unused vars from gen1 init 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 --- diff --git a/drivers/media/IR/mceusb.c b/drivers/media/IR/mceusb.c index 3c056a8fba7f..e368b8213c3b 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;