realtek: dsa: Avoid misleading 'case' indentation
authorSven Eckelmann <[email protected]>
Sun, 23 Nov 2025 14:07:28 +0000 (15:07 +0100)
committerHauke Mehrtens <[email protected]>
Mon, 24 Nov 2025 23:28:50 +0000 (00:28 +0100)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20906
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c

index ad1493a5141db1a588bfa476d15fd3d9d8258a63..a1fc71ff665a60f563c1da53a38cc8722bc38455 100644 (file)
@@ -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];