checkout: prepare_linked_checkout: drop now-unused 'new' argument

The only references to 'new' were folded out by the last two patches. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Sunshine committed Jul 6, 2015 at 13:30 UTC 3c3e7f5b57f94b8f5fcba5042cf2412625c24d4a
1 file changed +2 -3
builtin/checkout.c
+2 -3
@@ -854,8 +854,7 @@ static void remove_junk_on_signal(int signo)
854 raise(signo);
855 }
856
857 -static int prepare_linked_checkout(const struct checkout_opts *opts,
858 - struct branch_info *new)
857 +static int prepare_linked_checkout(const struct checkout_opts *opts)
858 {
859 struct strbuf sb_git = STRBUF_INIT, sb_repo = STRBUF_INIT;
860 struct strbuf sb = STRBUF_INIT;
@@ -1304,7 +1303,7 @@ static int checkout_branch(struct checkout_opts *opts,
1303 if (opts->new_worktree) {
1304 if (!new->commit)
1305 die(_("no branch specified"));
1307 - return prepare_linked_checkout(opts, new);
1306 + return prepare_linked_checkout(opts);
1307 }
1308
1309 if (!new->commit && opts->new_branch) {