aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/IR
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-07-10 10:19:42 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 15:42:42 -0400
commitca17a4f0bfc48feb3b4eb3f671a82adfe89530fb (patch)
treed2d33d3a39535e0557f780ada38a53bfce7573dc /drivers/media/IR
parent044e5878c2158d701e6f47a9604910589a384ee2 (diff)
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 <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR')
-rw-r--r--drivers/media/IR/mceusb.c3
1 files changed, 1 insertions, 2 deletions
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)
765 765
766static void mceusb_gen1_init(struct mceusb_dev *ir) 766static void mceusb_gen1_init(struct mceusb_dev *ir)
767{ 767{
768 int i, ret; 768 int ret;
769 int partial = 0;
770 struct device *dev = ir->dev; 769 struct device *dev = ir->dev;
771 char *data; 770 char *data;
772 771