diff options
| author | Gal Pressman <[email protected]> | 2025-06-16 13:26:26 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-06-18 01:06:39 +0000 |
| commit | 9c5f5a5bf0da5cee2044b93907ac6d8d9af0492b (patch) | |
| tree | 1b131bffa6fbed3bbf85297272fcd347e2fd043b /net/ipv4/tcp_output.c | |
| parent | net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs (diff) | |
| download | kernel-9c5f5a5bf0da5cee2044b93907ac6d8d9af0492b.tar.gz kernel-9c5f5a5bf0da5cee2044b93907ac6d8d9af0492b.zip | |
net: vlan: Use IS_ENABLED() helper for CONFIG_VLAN_8021Q guard
The header currently tests the VLAN core with an explicit pair of 'if
defined' checks:
#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
Instead, use IS_ENABLED() which is the kernel way to test whether an
option is configured as builtin/module.
This is purely cosmetic – no functional changes.
Reviewed-by: Alex Lazar <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
