]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: Simplify rtl83xx_setup_qos 20637/head
authorSven Eckelmann <se@simonwunderlich.de>
Tue, 4 Nov 2025 11:14:58 +0000 (12:14 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
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 <noltari@gmail.com>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20637
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/qos.c