From 3472c84d14b66e8e0d1481299fbc33f6e8b7bb50 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Sat, 1 Oct 2022 11:59:54 +0000 Subject: [PATCH] Kernel: Remove InodeMetadata::may_{read,write,execute}(Process const&) These have no definition and are never used. --- Kernel/FileSystem/InodeMetadata.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Kernel/FileSystem/InodeMetadata.h b/Kernel/FileSystem/InodeMetadata.h index da63dc7b8a0..6fbe56666fa 100644 --- a/Kernel/FileSystem/InodeMetadata.h +++ b/Kernel/FileSystem/InodeMetadata.h @@ -39,10 +39,6 @@ inline bool is_setgid(mode_t mode) { return (mode & S_ISGID) == S_ISGID; } struct InodeMetadata { bool is_valid() const { return inode.is_valid(); } - bool may_read(Process const&) const; - bool may_write(Process const&) const; - bool may_execute(Process const&) const; - bool may_read(Credentials const&) const; bool may_write(Credentials const&) const; bool may_execute(Credentials const&) const;