Skip to content

Commit

Permalink
V4L/DVB: IR/mceusb: remove unused vars from gen1 init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 044e587 commit ca17a4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/IR/mceusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ca17a4f

Please sign in to comment.