diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-07-10 11:19:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 16:42:42 -0300 |
commit | ca17a4f0bfc48feb3b4eb3f671a82adfe89530fb (patch) | |
tree | d2d33d3a39535e0557f780ada38a53bfce7573dc /drivers/media/IR | |
parent | 044e5878c2158d701e6f47a9604910589a384ee2 (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/IR/mceusb.c b/drivers/media/IR/mceusb.c index 3c056a8fba7..e368b8213c3 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; |