Commit 3406ebad authored by Günther Noack's avatar Günther Noack Committed by Mickaël Salaün

landlock: Remove remaining "inline" modifiers in .c files [v6.6]

For module-internal static functions, compilers are already in a good
position to decide whether to inline them or not.
Suggested-by: default avatarMickaël Salaün <mic@digikod.net>
Signed-off-by: default avatarGünther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20231208155121.1943775-2-gnoack@google.com
[mic: Split patch for Linux 6.6]
Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
parent da279087
......@@ -1086,7 +1086,7 @@ static int hook_path_truncate(const struct path *const path)
* Returns the access rights that are required for opening the given file,
* depending on the file type and open mode.
*/
static inline access_mask_t
static access_mask_t
get_required_file_open_access(const struct file *const file)
{
access_mask_t access = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment