summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-06-24 02:39:39 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 17:17:12 -0300
commitbdd36bd975a8a8adbbcbffdfc25c1fb71088861d (patch)
treefb653507a258e7e62d691dbd24e4ff197edf2c08 /drivers/media
parent7ac7b02345f694c1984375adfa487553affe44b4 (diff)
[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')
-rw-r--r--drivers/media/rc/nuvoton-cir.c2
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];