[openwrt/openwrt] realtek: dsa: Drop extra space before printed newline

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 24 15:29:57 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/dae62b01706c9d955fa31665428a08403c1ce4f3

commit dae62b01706c9d955fa31665428a08403c1ce4f3
Author: Sven Eckelmann <sven at narfation.org>
AuthorDate: Sun Nov 23 14:52:22 2025 +0100

    realtek: dsa: Drop extra space before printed newline
    
    The white space is not visibible when it is printed. It might have been
    added by accident to the format string.
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>
    Link: https://github.com/openwrt/openwrt/pull/20906
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/tc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/tc.c b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/tc.c
index 0d164fe70c..06a362c0bf 100644
--- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/tc.c
+++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/tc.c
@@ -321,7 +321,7 @@ static int rtl83xx_stats_flower(struct rtl838x_switch_priv *priv,
 	unsigned long lastused = 0;
 	int total_packets, new_packets;
 
-	pr_debug("%s: \n", __func__);
+	pr_debug("%s:\n", __func__);
 	flow = rhashtable_lookup_fast(&priv->tc_ht, &cls_flower->cookie, tc_ht_params);
 	if (!flow)
 		return -1;




More information about the lede-commits mailing list