aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2024-04-03 08:06:44 +0000
committerJakub Kicinski <[email protected]>2024-04-06 05:11:28 +0000
commit91188544af06f1bed76fe71cb1caebd96c833eac (patch)
tree6bffa64f3bd3dea6b1a4c6fc3fba3d08349554e6 /tools/net/ynl/lib/ynl.py
parent3c515: remove unused 'mtu' variable (diff)
downloadkernel-91188544af06f1bed76fe71cb1caebd96c833eac.tar.gz
kernel-91188544af06f1bed76fe71cb1caebd96c833eac.zip
isdn: kcapi: don't build unused procfs code
The procfs file is completely unused without CONFIG_PROC_FS but causes a compile time warning: drivers/isdn/capi/kcapi_proc.c:97:36: error: unused variable 'seq_controller_ops' [-Werror,-Wunused-const-variable] static const struct seq_operations seq_controller_ops = { drivers/isdn/capi/kcapi_proc.c:104:36: error: unused variable 'seq_contrstats_ops' [-Werror,-Wunused-const-variable] drivers/isdn/capi/kcapi_proc.c:179:36: error: unused variable 'seq_applications_ops' [-Werror,-Wunused-const-variable] drivers/isdn/capi/kcapi_proc.c:186:36: error: unused variable 'seq_applstats_ops' [-Werror,-Wunused-const-variable] Remove the file from the build in that config and make the calls into it conditional instead. Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions