parallel-checkout: drop unused checkout state parameter
The write_pc_item_to_fd() function takes a "struct checkout *state" parameter, but never uses it. This was true in its introduction in fa33dd99 (unpack-trees: add basic support for parallel checkout, 2020-09-22). Its caller, write_pc_item(), has already pulled the useful bits from the state struct into the "path" variable. Let's drop the useless parameter. Signed-off-by: NJeff King <peff@peff.net> Acked-by: Tavares Bernard Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录