From b926335f334fc8019643d14d4e6d247ed787746b Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 26 Nov 2019 12:12:02 -0500 Subject: [PATCH] Remove unused overload of exit_inferior_silent This function is not used in the code base. gdb/ChangeLog: * inferior.c (exit_inferior_silent): Remove. Change-Id: Ib2b7662744da079185ceac2a165b47590bd3113c --- gdb/ChangeLog | 4 ++++ gdb/inferior.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2068a91c78..9d875fdd43c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2019-11-26 Simon Marchi + + * inferior.c (exit_inferior_silent): Remove. + 2019-11-26 Simon Marchi * dictionary.c (dict_empty, mdict_empty): Remove. diff --git a/gdb/inferior.c b/gdb/inferior.c index cf2175494d1..84e4d24e738 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.30.2