remove_all_fetch_refspecs(): drop unused "remote" parameter
authorJeff King <peff@peff.net>
Thu, 9 May 2019 21:31:46 +0000 (17:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 May 2019 05:22:54 +0000 (14:22 +0900)
commit113c29ade08054ba2c543b41570e3a6643022b3d
tree7f6d72bd5c35fa304fae75c0dc266c2bcaf2453c
parentc95fc72f47341cf7cf80b3b878cc8d35684bc1e8
remove_all_fetch_refspecs(): drop unused "remote" parameter

This function already takes a "key" parameter which uniquely identifies
the config key that we need to remove. There's no need for it to look at
the "remote" parameter at all. Let's drop it in the name of simplicity.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/remote.c