diff mbox series

linux: Remove unnecessary nice.c and signal.c

Message ID 20220629140601.1672496-1-arjun@redhat.com
State Committed
Commit 2c4e368a418e12ba67cd4fb026c8b8f2dd605497
Headers show
Series linux: Remove unnecessary nice.c and signal.c | expand

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Arjun Shankar June 29, 2022, 2:06 p.m. UTC
These files simply include the sysdeps/posix implementations which would
be used even in the absence of the files.  They have been unnecessary
since 7b17aeda0c5e when nice and signal were removed from the
syscalls.list file.
---
 sysdeps/unix/sysv/linux/nice.c   | 1 -
 sysdeps/unix/sysv/linux/signal.c | 3 ---
 2 files changed, 4 deletions(-)
 delete mode 100644 sysdeps/unix/sysv/linux/nice.c
 delete mode 100644 sysdeps/unix/sysv/linux/signal.c

Comments

Adhemerval Zanella Netto June 29, 2022, 4:24 p.m. UTC | #1
> On 29 Jun 2022, at 11:06, Arjun Shankar via Libc-alpha <libc-alpha@sourceware.org> wrote:
> 
> These files simply include the sysdeps/posix implementations which would
> be used even in the absence of the files.  They have been unnecessary
> since 7b17aeda0c5e when nice and signal were removed from the
> syscalls.list file.

LGTM, thanks.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

> ---
> sysdeps/unix/sysv/linux/nice.c   | 1 -
> sysdeps/unix/sysv/linux/signal.c | 3 ---
> 2 files changed, 4 deletions(-)
> delete mode 100644 sysdeps/unix/sysv/linux/nice.c
> delete mode 100644 sysdeps/unix/sysv/linux/signal.c
> 
> diff --git a/sysdeps/unix/sysv/linux/nice.c b/sysdeps/unix/sysv/linux/nice.c
> deleted file mode 100644
> index 3bcbb1e89a..0000000000
> --- a/sysdeps/unix/sysv/linux/nice.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -#include <sysdeps/posix/nice.c>
> diff --git a/sysdeps/unix/sysv/linux/signal.c b/sysdeps/unix/sysv/linux/signal.c
> deleted file mode 100644
> index bc4e4e8447..0000000000
> --- a/sysdeps/unix/sysv/linux/signal.c
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -/* We need this file since otherwise `signal' would be handled as a
> -   system call.  */
> -#include <sysdeps/posix/signal.c>
> -- 
> 2.35.3
>
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/nice.c b/sysdeps/unix/sysv/linux/nice.c
deleted file mode 100644
index 3bcbb1e89a..0000000000
--- a/sysdeps/unix/sysv/linux/nice.c
+++ /dev/null
@@ -1 +0,0 @@ 
-#include <sysdeps/posix/nice.c>
diff --git a/sysdeps/unix/sysv/linux/signal.c b/sysdeps/unix/sysv/linux/signal.c
deleted file mode 100644
index bc4e4e8447..0000000000
--- a/sysdeps/unix/sysv/linux/signal.c
+++ /dev/null
@@ -1,3 +0,0 @@ 
-/* We need this file since otherwise `signal' would be handled as a
-   system call.  */
-#include <sysdeps/posix/signal.c>