From 0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Tue, 15 Sep 2020 12:31:56 +0200 Subject: [PATCH] rtl838x: remove some debug output in rtl838x-nor.c Seems like leftovers from development, remove them. Signed-off-by: Adrian Schmutzler --- .../linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c b/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c index 0d8f9dbd3e..20d93ae962 100644 --- a/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c +++ b/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c @@ -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--; } -- 2.30.2