diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-07-10 18:19:42 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 23:42:42 +0400 |
commit | ca17a4f0bfc48feb3b4eb3f671a82adfe89530fb (patch) | |
tree | d2d33d3a39535e0557f780ada38a53bfce7573dc /drivers/media/IR/mceusb.c | |
parent | 044e5878c2158d701e6f47a9604910589a384ee2 (diff) | |
download | linux-ca17a4f0bfc48feb3b4eb3f671a82adfe89530fb.tar.xz |
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/mceusb.c')
-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 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; |