Skip to content

Commit

Permalink
[media] em28xx-input: remove dead code line from em28xx_get_key_em_ha…
Browse files Browse the repository at this point in the history
…up()

Field 'old' of struct IR_i2c is used nowhere in module ir-kbd-i2c.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Frank Schaefer authored and Mauro Carvalho Chehab committed Feb 5, 2013
1 parent 0b3966e commit 59cf17d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/usb/em28xx/em28xx-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ static int em28xx_get_key_em_haup(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw)
if (buf[1] == 0xff)
return 0;

ir->old = buf[1];

/*
* Rearranges bits to the right order.
* The bit order were determined experimentally by using
Expand Down

0 comments on commit 59cf17d

Please sign in to comment.