From: Adrian Schmutzler Date: Tue, 15 Sep 2020 10:31:56 +0000 (+0200) Subject: rtl838x: remove some debug output in rtl838x-nor.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1;p=openwrt%2Fstaging%2Fneocturne.git rtl838x: remove some debug output in rtl838x-nor.c Seems like leftovers from development, remove them. Signed-off-by: Adrian Schmutzler --- 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--; }