mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 06:32:11 -05:00
realtek: Fix spaces around braces, ops and keywords
The Linux kernel coding style has strict rules when spaces must be added around operations or after keywords. The whole list is to complex to summarize it here but can be found at https://www.kernel.org/doc/html/v6.17/process/coding-style.html Signed-off-by: Sven Eckelmann <sven@narfation.org> Link: https://github.com/openwrt/openwrt/pull/20906 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
230a1835c3
commit
1dd22279eb
@ -2085,8 +2085,7 @@ static int rtl83xx_vlan_filtering(struct dsa_switch *ds, int port,
|
||||
if (port != priv->cpu_port) {
|
||||
priv->r->set_vlan_igr_filter(port, IGR_DROP);
|
||||
priv->r->set_vlan_egr_filter(port, EGR_ENABLE);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
priv->r->set_vlan_igr_filter(port, IGR_TRAP);
|
||||
priv->r->set_vlan_egr_filter(port, EGR_DISABLE);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user