um: Remove unused os_getpgrp function

The function is not used anywhere.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20240913134442.967599-5-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Benjamin Berg
2024-10-10 12:02:04 +02:00
committed by Johannes Berg
parent 377c23c558
commit 71fae9dfa7
2 changed files with 0 additions and 6 deletions
-1
View File
@@ -204,7 +204,6 @@ extern void os_kill_process(int pid, int reap_child);
extern void os_kill_ptraced_process(int pid, int reap_child);
extern int os_getpid(void);
extern int os_getpgrp(void);
extern void init_new_thread_signals(void);
-5
View File
@@ -53,11 +53,6 @@ int os_getpid(void)
return syscall(__NR_getpid);
}
int os_getpgrp(void)
{
return getpgrp();
}
int os_map_memory(void *virt, int fd, unsigned long long off, unsigned long len,
int r, int w, int x)
{