summaryrefslogtreecommitdiffstats
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2019-09-13 00:19:23 +0200
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2019-09-15 19:42:16 +0200
commit4bd92428e717fc6bc29ffa4fdb38b68395b96684 (patch)
tree1df3c00e802df24b88fc97c549fef10383c0d8d6 /mm/percpu.c
parent8b160b18e3bde4563209b4b35597998a059f272b (diff)
downloadlinux-4bd92428e717fc6bc29ffa4fdb38b68395b96684.tar.bz2
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 a95b37e20db9 (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>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions