From: Simon Marchi Date: Tue, 26 Nov 2019 17:12:02 +0000 (-0500) Subject: Remove unused overload of exit_inferior_silent X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b926335f334fc8019643d14d4e6d247ed787746b;p=binutils-gdb.git 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 --- 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) {