[openwrt/openwrt] rtl838x: remove some debug output in rtl838x-nor.c

LEDE Commits lede-commits at lists.infradead.org
Wed Sep 16 10:31:37 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1

commit 0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Tue Sep 15 12:31:56 2020 +0200

    rtl838x: remove some debug output in rtl838x-nor.c
    
    Seems like leftovers from development, remove them.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/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--;
 	}



More information about the lede-commits mailing list