Patchwork [07/15] Remove unused overload of exit_inferior_silent

login
register
mail settings
Submitter Simon Marchi
Date Nov. 25, 2019, 5:26 a.m.
Message ID <20191125052655.22696-8-simon.marchi@efficios.com>
Download mbox | patch
Permalink /patch/36171/
State New
Headers show

Comments

Simon Marchi - Nov. 25, 2019, 5:26 a.m.
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(-)

Patch

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)
 {