path: root/drivers
diff options
authorFrank Schaefer <fschaefer.oss@googlemail.com>2013-01-13 10:20:39 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 20:38:47 -0200
commit59cf17d84353e175d40ff10ee9fa221d304d0836 (patch)
treecb18dbc0704976a27b0fcad1120009a4a58dc8a1 /drivers
parent0b3966e40c99afeb89849b5cf7b100a3bb4271cd (diff)
[media] em28xx-input: remove dead code line from em28xx_get_key_em_haup()
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>
Diffstat (limited to 'drivers')
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-input.c b/drivers/media/usb/em28xx/em28xx-input.c
index 07f6030d7455..f554a5291619 100644
--- a/drivers/media/usb/em28xx/em28xx-input.c
+++ b/drivers/media/usb/em28xx/em28xx-input.c
@@ -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

Privacy Policy