realtek: dsa: Simplify rtl83xx_setup_qos
authorSven Eckelmann <[email protected]>
Tue, 4 Nov 2025 11:14:58 +0000 (12:14 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 6 Nov 2025 09:32:41 +0000 (10:32 +0100)
commit4ed96e54cd811c50ce1f5ef7d074fccc9d6a54a5
tree88a27e4ba207e1f4684a10fe6734a8880379b67b
parent78bf3a5f44bf8219a8e0e4c982ccb7624d967f83
realtek: dsa: Simplify rtl83xx_setup_qos

It is not necessary to have two different family_id checks directly after
another. It is simpler to just combine both into one.

Suggested-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Sven Eckelmann <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20637
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/qos.c