OpenCloudOS-Kernel/lib/zstd
Rasmus Villemoes 4bd92428e7 lib/zstd/mem.h: replace __inline by inline
Currently, compiler_types.h #defines __inline as inline (and further
#defines inline to automatically attach some attributes), so this does
not change functionality. It serves as preparation for removing the
#define of __inline.

While at it, also remove the __attribute__((unused)) - it's already
included in the definition of the inline macro, and "open-coded"
__attribute__(()) should be avoided.

Since commit a95b37e20d (kbuild: get <linux/compiler_types.h> out of
<linux/kconfig.h>), compiler_types.h is automatically included by all
kernel C code - i.e., the definition of inline including the unused
attribute is guaranteed to be in effect whenever ZSTD_STATIC is
expanded.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
2019-09-15 19:42:16 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
bitstream.h lib: zstd: Mark expected switch fall-throughs 2019-04-08 18:39:18 -05:00
compress.c lib: zstd: Mark expected switch fall-throughs 2019-04-08 18:39:18 -05:00
decompress.c lib: zstd: Mark expected switch fall-throughs 2019-04-08 18:39:18 -05:00
entropy_common.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
error_private.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
fse.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
fse_compress.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
fse_decompress.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
huf.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
huf_compress.c lib: zstd: Mark expected switch fall-throughs 2019-04-08 18:39:18 -05:00
huf_decompress.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
mem.h lib/zstd/mem.h: replace __inline by inline 2019-09-15 19:42:16 +02:00
zstd_common.c lib: Add zstd modules 2017-08-15 09:02:08 -07:00
zstd_internal.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00
zstd_opt.h lib: Add zstd modules 2017-08-15 09:02:08 -07:00