2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-27 03:55:37 +08:00
linux-next/lib/zstd
Ben Dooks 3f832dfb8a zstd: fix g_debuglevel export warning
The g_debuglevel variable in debug.c is only used when DEBUGLEVEL is
defined to be above 2. This means by default there's no actual definition
of this in the headers, so sparse is giving the following warning:

lib/zstd/common/debug.c:24:5: warning: symbol 'g_debuglevel' was not declared. Should it be static?

We can use the same check as in the header to remove this if it isn't
going to be used, silencing the warning and removing a small bit of unused
data.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Nick Terrell <terrelln@fb.com>
2023-11-20 14:49:34 -08:00
..
common zstd: fix g_debuglevel export warning 2023-11-20 14:49:34 -08:00
compress zstd: import upstream v1.5.5 2023-11-20 14:48:34 -08:00
decompress zstd: Backport Huffman speed improvement from upstream 2023-11-20 14:49:06 -08:00
decompress_sources.h zstd: import upstream v1.5.5 2023-11-20 14:48:34 -08:00
Makefile zstd: import upstream v1.5.5 2023-11-20 14:48:34 -08:00
zstd_common_module.c zstd: import upstream v1.5.5 2023-11-20 14:48:34 -08:00
zstd_compress_module.c zstd: import upstream v1.5.5 2023-11-20 14:48:34 -08:00
zstd_decompress_module.c zstd: import upstream v1.5.5 2023-11-20 14:48:34 -08:00