diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-06-24 08:39:39 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-08 23:17:12 +0300 |
commit | bdd36bd975a8a8adbbcbffdfc25c1fb71088861d (patch) | |
tree | fb653507a258e7e62d691dbd24e4ff197edf2c08 /drivers/media/rc/nuvoton-cir.c | |
parent | 7ac7b02345f694c1984375adfa487553affe44b4 (diff) | |
download | linux-bdd36bd975a8a8adbbcbffdfc25c1fb71088861d.tar.xz |
[media] media: rc: nuvoton: remove unneeded code in nvt_process_rx_ir_data
The definition of rawir includes the initialization already.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.c')
-rw-r--r-- | drivers/media/rc/nuvoton-cir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c index 92f69c0c8a0e..a60ea2d3d4d7 100644 --- a/drivers/media/rc/nuvoton-cir.c +++ b/drivers/media/rc/nuvoton-cir.c @@ -757,8 +757,6 @@ static void nvt_process_rx_ir_data(struct nvt_dev *nvt) nvt_dbg_verbose("Processing buffer of len %d", nvt->pkts); - init_ir_raw_event(&rawir); - for (i = 0; i < nvt->pkts; i++) { sample = nvt->buf[i]; |