diff options
Diffstat (limited to 'AK/SharedBuffer.cpp')
-rw-r--r-- | AK/SharedBuffer.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/AK/SharedBuffer.cpp b/AK/SharedBuffer.cpp index 4705cf9882..873b3e4e33 100644 --- a/AK/SharedBuffer.cpp +++ b/AK/SharedBuffer.cpp @@ -98,18 +98,6 @@ bool SharedBuffer::share_with([[maybe_unused]] pid_t peer) return true; } -bool SharedBuffer::share_globally() -{ -#if defined(__serenity__) - int ret = shbuf_allow_all(shbuf_id()); - if (ret < 0) { - perror("shbuf_allow_all"); - return false; - } -#endif - return true; -} - RefPtr<SharedBuffer> SharedBuffer::create_from_shbuf_id(int shbuf_id) { #if defined(__serenity__) |