Kernel: Remove KBuffer::is_null() and bogus call sites :^)

This commit is contained in:
Andreas Kling 2021-09-07 16:00:39 +02:00
commit 881923dd47
Notes: sideshowbarker 2024-07-18 04:31:03 +09:00
2 changed files with 3 additions and 7 deletions

View file

@ -113,8 +113,6 @@ public:
return adopt_nonnull_own_or_enomem(new (nothrow) KBuffer(impl.release_nonnull()));
}
[[nodiscard]] bool is_null() const { return false; }
[[nodiscard]] u8* data() { return m_impl->data(); }
[[nodiscard]] const u8* data() const { return m_impl->data(); }
[[nodiscard]] size_t size() const { return m_impl->size(); }