diff options
| author | 2020-12-01 21:45:06 +0100 | |
|---|---|---|
| committer | 2020-12-02 17:16:29 -0800 | |
| commit | 02ffbb0270efb372f163d21ef1b25e89ffd4190c (patch) | |
| tree | 1102232d4795100b0715867d3c71beefd4c42057 /security/selinux/hooks.c | |
| parent | net: dsa: microchip: ksz8795: use port_cnt instead of TOTOAL_PORT_NUM (diff) | |
| download | linux-dev-02ffbb0270efb372f163d21ef1b25e89ffd4190c.tar.xz linux-dev-02ffbb0270efb372f163d21ef1b25e89ffd4190c.zip | |
net: dsa: microchip: ksz8795: use num_vlans where possible
The value of the define VLAN_TABLE_ENTRIES can be derived from
num_vlans. This patch is using the variable num_vlans instead and
removes the extra define.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
