OSDN Git Service

[media] media: rc: Delete duplicate debug message
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Mon, 18 Sep 2017 14:31:41 +0000 (11:31 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 19:07:58 +0000 (16:07 -0300)
ir_setkeytable() and ir_create_table() print the same debug message.
Delete the one in ir_setkeytable()

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/rc-main.c

index e0901a2..cb78e57 100644 (file)
@@ -440,9 +440,6 @@ static int ir_setkeytable(struct rc_dev *dev,
        if (rc)
                return rc;
 
-       IR_dprintk(1, "Allocated space for %u keycode entries (%u bytes)\n",
-                  rc_map->size, rc_map->alloc);
-
        for (i = 0; i < from->size; i++) {
                index = ir_establish_scancode(dev, rc_map,
                                              from->scan[i].scancode, false);