summaryrefslogtreecommitdiffstats
path: root/net/netlabel/netlabel_cipso_v4.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-12-12 15:03:57 +0100
committerThomas Gleixner <tglx@linutronix.de>2020-01-17 14:34:41 +0100
commitd0b7788804482b2689946cd8d910ac3e03126c8d (patch)
tree0cbb0281b0cd780539df6db5a789191c0804881a /net/netlabel/netlabel_cipso_v4.c
parentb3a987b0264d3ddbb24293ebff10eddfc472f653 (diff)
downloadtalos-op-linux-d0b7788804482b2689946cd8d910ac3e03126c8d.tar.gz
talos-op-linux-d0b7788804482b2689946cd8d910ac3e03126c8d.zip
x86/apic/uv: Avoid unused variable warning
When CONFIG_PROC_FS is disabled, the compiler warns about an unused variable: arch/x86/kernel/apic/x2apic_uv_x.c: In function 'uv_setup_proc_files': arch/x86/kernel/apic/x2apic_uv_x.c:1546:8: error: unused variable 'name' [-Werror=unused-variable] char *name = hubless ? "hubless" : "hubbed"; Simplify the code so this variable is no longer needed. Fixes: 8785968bce1c ("x86/platform/uv: Add UV Hubbed/Hubless Proc FS Files") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20191212140419.315264-1-arnd@arndb.de
Diffstat (limited to 'net/netlabel/netlabel_cipso_v4.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud