Kernel: Remove copy_string_from_user() as it's no longer used

This commit is contained in:
Andreas Kling 2021-08-14 23:02:48 +02:00
commit 96d5d017b7
Notes: sideshowbarker 2024-07-18 05:40:13 +09:00
3 changed files with 0 additions and 36 deletions

View file

@ -986,11 +986,6 @@ inline ProcessID Thread::pid() const
#define VERIFY_NO_PROCESS_BIG_LOCK(process) \
VERIFY(!process->big_lock().own_lock());
inline static String copy_string_from_user(const Kernel::Syscall::StringArgument& string)
{
return copy_string_from_user(string.characters, string.length);
}
inline static KResultOr<NonnullOwnPtr<KString>> try_copy_kstring_from_user(const Kernel::Syscall::StringArgument& string)
{
Userspace<char const*> characters((FlatPtr)string.characters);