]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
[media] af9005: remove a printk that would require a KERN_CONT
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 13:44:04 +0000 (10:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 18 Nov 2016 12:02:47 +0000 (10:02 -0200)
The dvb-usb system has its own macro to print hexa dumps
(debug_dump). Such macro doesn't support messages with
KERN_CONT after commit 563873318d32 ("Merge branch 'printk-cleanups'").
So, let's get rid of a printk() that would be assuming that
this would work.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/af9005.c

index 7853261906b1afd3334e8e67e74a3f4a5311a13e..f5f476841aea0ca5103a69b7d979674ef37d03cd 100644 (file)
@@ -826,7 +826,6 @@ static int af9005_frontend_attach(struct dvb_usb_adapter *adap)
                printk("EEPROM DUMP\n");
                for (i = 0; i < 255; i += 8) {
                        af9005_read_eeprom(adap->dev, i, buf, 8);
-                       printk("ADDR %x ", i);
                        debug_dump(buf, 8, printk);
                }
        }