From: Ævar Arnfjörð Bjarmason Date: Thu, 31 Mar 2022 01:45:50 +0000 (+0200) Subject: run-command.h: remove always unused "clean_on_exit_handler_cbdata" X-Git-Tag: v2.37.0-rc0~103^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=551f5022019803cceb0fa3943f696fae32f093f9;p=thirdparty%2Fgit.git run-command.h: remove always unused "clean_on_exit_handler_cbdata" Remove a "struct child_process" member added in ac2fbaa674c (run-command: add clean_on_exit_handler, 2016-10-16), but which was never used. Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Junio C Hamano --- diff --git a/run-command.h b/run-command.h index 07bed6c31b..5bd0c933e8 100644 --- a/run-command.h +++ b/run-command.h @@ -142,7 +142,6 @@ struct child_process { unsigned clean_on_exit:1; unsigned wait_after_clean:1; void (*clean_on_exit_handler)(struct child_process *process); - void *clean_on_exit_handler_cbdata; }; #define CHILD_PROCESS_INIT { \