[media] em28xx-input: remove dead code line from em28xx_get_key_em_haup()
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 13 Jan 2013 13:20:39 +0000 (10:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 22:38:47 +0000 (20:38 -0200)
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>
drivers/media/usb/em28xx/em28xx-input.c

index 07f6030..f554a52 100644 (file)
@@ -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