From patchwork Mon Nov 25 05:26:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 36171 Received: (qmail 49512 invoked by alias); 25 Nov 2019 05:27:23 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 49450 invoked by uid 89); 25 Nov 2019 05:27:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:674 X-HELO: mail.efficios.com Received: from mail.efficios.com (HELO mail.efficios.com) (167.114.142.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Nov 2019 05:27:22 +0000 Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id 85EA2347541 for ; Mon, 25 Nov 2019 00:27:20 -0500 (EST) Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id vJeG95sJSKuB; Mon, 25 Nov 2019 00:27:20 -0500 (EST) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.efficios.com (Postfix) with ESMTP id 7075D3474EC; Mon, 25 Nov 2019 00:27:17 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 7075D3474EC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1574659637; bh=jDAyHz69vGnzQi8tP0+fsWkLb55eVjEmt0W4VuSEM58=; h=From:To:Date:Message-Id:MIME-Version; b=HaXvsmdLxmsk414T80GxT2kF1gxT91Gzq+7+OvfsExsKsmz3TDf2yrTwU/XE7nxrL aAUarkMLejpDJAfumEVsivTvlIfzZKd3/lZ+wzStd+CZ4NQq5eUYaChJRYSsCYKNH8 f17g0Xjm0aLg1jiJqSCqhAWmXnRZEcCfbKAUt7go2ekLDMh7Ugh9Dv6uRan7DaK9OU +ZJJmmbdsyESbiw6dsAxkNiF7T9jaBL1GGxmkrGB4Wv8Q6tLJSEKjDC1CrFOSRzHRE VNh/npYoLa+tC62eLps3EPEUtytf8CC5IsBcaKaQJKsaq2ofUKM05wyw3gEq1fBuDH 9qbKd8C1xEP6w== Received: from mail.efficios.com ([IPv6:::1]) by localhost (mail02.efficios.com [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id PyW7a2KVW0Dm; Mon, 25 Nov 2019 00:27:17 -0500 (EST) Received: from smarchi-efficios.lan (unknown [192.222.164.54]) by mail.efficios.com (Postfix) with ESMTPSA id D523C3474A9; Mon, 25 Nov 2019 00:27:10 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 07/15] Remove unused overload of exit_inferior_silent Date: Mon, 25 Nov 2019 00:26:47 -0500 Message-Id: <20191125052655.22696-8-simon.marchi@efficios.com> In-Reply-To: <20191125052655.22696-1-simon.marchi@efficios.com> References: <20191125052655.22696-1-simon.marchi@efficios.com> MIME-Version: 1.0 This function is not used in the code base. gdb/ChangeLog: * inferior.c (exit_inferior_silent): Remove. Change-Id: Ib2b7662744da079185ceac2a165b47590bd3113c --- gdb/inferior.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gdb/inferior.c b/gdb/inferior.c index cf2175494d16..84e4d24e738b 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -220,14 +220,6 @@ exit_inferior (inferior *inf) exit_inferior_1 (inf, 0); } -void -exit_inferior_silent (int pid) -{ - struct inferior *inf = find_inferior_pid (pid); - - exit_inferior_1 (inf, 1); -} - void exit_inferior_silent (inferior *inf) {