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: 1650106 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=e22ptYzh; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LY3D10jFVz9sG2 for ; Thu, 30 Jun 2022 00:06:25 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6C9E3384D189 for ; Wed, 29 Jun 2022 14:06:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C9E3384D189 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1656511582; bh=PWx4nq2YeJNuEoT9F8GAtDCbQbgbCEntCd675PKzMdE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=e22ptYzhkLWSE9EzeOOwlxg8P9rJpXp+pxbvKHppBSovs9A8w/s9aCHcnTTCP25t1 oSTOa1jUyb1O6Gr8jMoWj0DNsWTRfaGEPFl+3Pli0TZguNFwTsQpKyT2kRdSnF3Wg1 K2kqV8BYmrpor/UUKJvkZwSQTU3DogFfObPlV6v8= 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+incoming=patchwork.ozlabs.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