From: Sven Eckelmann Date: Sun, 23 Nov 2025 14:07:28 +0000 (+0100) Subject: realtek: dsa: Avoid misleading 'case' indentation X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=bc71e705aa03ccf97d1044e8c0f9e415413ca12c;p=openwrt%2Fopenwrt.git realtek: dsa: Avoid misleading 'case' indentation The case statements should be at the same indentation level as the switch. Having different levels makes it harder to spot where the next case starts. Signed-off-by: Sven Eckelmann Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c index ad1493a514..a1fc71ff66 100644 --- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c +++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c @@ -1004,7 +1004,7 @@ static int rtl931x_pie_data_fill(enum template_field_id field_type, struct pie_r *data_m = pr->dip_m; } break; - case TEMPLATE_FIELD_DIP1: + case TEMPLATE_FIELD_DIP1: if (pr->is_ipv6) { *data = pr->dip6.s6_addr16[6]; *data_m = pr->dip6_m.s6_addr16[6];