[PATCH v2 13/24] Delete exit_inferior_silent(int pid)

Pedro Alves
2019-10-17T22:59:32Z

In commit 00431a78b28f ("Use thread_info and inferior pointers more
throughout"), I introduced 'exit_inferior_silent(inferior *)' and left
'exit_inferior_silent(int)' behind by mistake. This overload isn't
used anywhere. It's not declared in inferior.h either, that commit
deleted its declaration in favor of the new
'exit_inferior_silent(inferior *)'.

gdb/ChangeLog:
yyyy-mm-dd Pedro Alves <palves@redhat.com>

* inferior.c (exit_inferior_silent(int)): Delete.
---
gdb/inferior.c | 8 --------
1 file changed, 8 deletions(-)

diff --git a/gdb/inferior.c b/gdb/inferior.c
index 619b8caac7..d2354fa749 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)
{
--
2.14.5