]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/media/rc/ir-sanyo-decoder.c
[media] v4l/dvb: fix compiler warnings
[mirror_ubuntu-bionic-kernel.git] / drivers / media / rc / ir-sanyo-decoder.c
index d38fbdd0b25ab07db34dbc7cdd7f9b2a150b3149..7e54ec57bcf9cd3fec378d36dd32b4ed6a800240 100644 (file)
@@ -56,7 +56,7 @@ static int ir_sanyo_decode(struct rc_dev *dev, struct ir_raw_event ev)
 {
        struct sanyo_dec *data = &dev->raw->sanyo;
        u32 scancode;
-       u8 address, not_address, command, not_command;
+       u8 address, command, not_command;
 
        if (!(dev->raw->enabled_protocols & RC_TYPE_SANYO))
                return 0;
@@ -154,7 +154,7 @@ static int ir_sanyo_decode(struct rc_dev *dev, struct ir_raw_event ev)
                        break;
 
                address     = bitrev16((data->bits >> 29) & 0x1fff) >> 3;
-               not_address = bitrev16((data->bits >> 16) & 0x1fff) >> 3;
+               /* not_address = bitrev16((data->bits >> 16) & 0x1fff) >> 3; */
                command     = bitrev8((data->bits >>  8) & 0xff);
                not_command = bitrev8((data->bits >>  0) & 0xff);