summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2013-01-13 14:20:39 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-02-05 23:38:47 +0100
commit59cf17d84353e175d40ff10ee9fa221d304d0836 (patch)
treecb18dbc0704976a27b0fcad1120009a4a58dc8a1 /drivers
parent[media] em28xx: add missing IR RC slave address to the list of known i2c devices (diff)
downloadlinux-59cf17d84353e175d40ff10ee9fa221d304d0836.tar.xz
linux-59cf17d84353e175d40ff10ee9fa221d304d0836.zip
[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')
-rw-r--r--drivers/media/usb/em28xx/em28xx-input.c2
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