From patchwork Wed Jun 29 14:06:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjun Shankar X-Patchwork-Id: 55525 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ED06D3850841 for ; Wed, 29 Jun 2022 14:06:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED06D3850841 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1656511589; bh=PWx4nq2YeJNuEoT9F8GAtDCbQbgbCEntCd675PKzMdE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=VPgAJm8UdTYL53A7MZzLioZ/ui6YFOPSNIxd1IwZcmzCNrzbLqNqxtIt0zz34JyNt jKrDDHy5rpKT/ry221XF+XzZlNTzHv6i0/oblYkL3GKRsGOoE+cnt6jdGvnI+QmPH5 OaqGL2ColQiYUGtu79hq/MCdMNDiRD9Oc/C2Cf/g= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id CADE63853560 for ; Wed, 29 Jun 2022 14:06:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CADE63853560 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-256-s1OEDg2EOdC-5TPU8kJ-AA-1; Wed, 29 Jun 2022 10:06:06 -0400 X-MC-Unique: s1OEDg2EOdC-5TPU8kJ-AA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E7176185A7BA for ; Wed, 29 Jun 2022 14:06:05 +0000 (UTC) Received: from x1carbon.redhat.com (unknown [10.40.193.87]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5A5A52166B26; Wed, 29 Jun 2022 14:06:05 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] linux: Remove unnecessary nice.c and signal.c Date: Wed, 29 Jun 2022 16:06:01 +0200 Message-Id: <20220629140601.1672496-1-arjun@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Arjun Shankar via Libc-alpha From: Arjun Shankar Reply-To: Arjun Shankar Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" 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. Reviewed-by: Adhemerval Zanella --- 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 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