Thread (46 messages) 46 messages, 4 authors, 2022-04-04
STALE1519d

[PATCH v3 1/7] run-command.h: remove always unused "clean_on_exit_handler_cbdata"

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2022-03-26 17:14:38
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 run-command.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/run-command.h b/run-command.h
index 07bed6c31b4..5bd0c933e80 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 { \
-- 
2.35.1.1535.gf8d72b9da1e
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help