]> git.ipfire.org Git - thirdparty/kmod.git/commit
Remove _always_inline_ attribute
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 16 Jun 2025 20:52:16 +0000 (21:52 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 8 Jul 2025 12:17:14 +0000 (07:17 -0500)
commitbffe1a78002538ca976a8fd6116a085f6fe040b8
treebff7ae25b9c3ac2ba0dfbfe9ec96cc08375a9325
parent11553144caa89d026da60d6f676a44b15442f1b7
Remove _always_inline_ attribute

We have a single _always_inline_ instance in-tree, which lives in a
header file. Just make it a "static inline", which will practically do
the same thing and what we already have elsewhere in-tree.

While in there drop the CAPS from ALIGN_POWER2 - it's a function, so we
don't need the shouting.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/376
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
.clang-format
shared/hash.c
shared/macro.h
shared/util.h