mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-27 03:55:37 +08:00
3f832dfb8a
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> |
||
---|---|---|
.. | ||
common | ||
compress | ||
decompress | ||
decompress_sources.h | ||
Makefile | ||
zstd_common_module.c | ||
zstd_compress_module.c | ||
zstd_decompress_module.c |