rtl838x: remove some debug output in rtl838x-nor.c
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 15 Sep 2020 10:31:56 +0000 (12:31 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 16 Sep 2020 14:31:28 +0000 (16:31 +0200)
Seems like leftovers from development, remove them.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c

index 0d8f9dbd3eb8b20225683297dfae7b46069165f7..20d93ae9624dad9544fc0fffe07fb64adf193c7a 100644 (file)
@@ -147,7 +147,6 @@ ssize_t rtl838x_do_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
        while (length >= 4) {
                SPI_WAIT_READY;
                *((uint32_t *) buffer) = spi_r32(SFDR);
-/*             printk("%.8x  ", *((uint32_t*) buffer)); */
                buffer += 4;
                length -= 4;
        }
@@ -159,7 +158,6 @@ ssize_t rtl838x_do_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
        while (length > 0) {
                SPI_WAIT_READY;
                *(buffer) = spi_r32(SFDR) >> 24;
-/*             printk("%.2x  ", *(buffer)); */
                buffer++;
                length--;
        }
@@ -200,7 +198,6 @@ static ssize_t rtl838x_do_4bf_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
        while (length >= 4) {
                SPI_WAIT_READY;
                *((uint32_t *) buffer) = spi_r32(SFDR);
-/*             printk("%.8x  ", *((uint32_t*) buffer)); */
                buffer += 4;
                length -= 4;
        }
@@ -212,7 +209,6 @@ static ssize_t rtl838x_do_4bf_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
        while (length > 0) {
                SPI_WAIT_READY;
                *(buffer) = spi_r32(SFDR) >> 24;
-/*             printk("%.2x  ", *(buffer)); */
                buffer++;
                length--;
        }