remove a pointless 'goto done'
diff --git a/libexec/got-fetch-pack/got-fetch-pack.c b/libexec/got-fetch-pack/got-fetch-pack.c
index c12ff83..d74463f 100644
--- a/libexec/got-fetch-pack/got-fetch-pack.c
+++ b/libexec/got-fetch-pack/got-fetch-pack.c
@@ -705,8 +705,6 @@ main(int argc, char **argv)
packfd = imsg.fd;
err = fetch_pack(fetchfd, packfd, &packid, &have_refs, &ibuf);
- if (err)
- goto done;
done:
if (packfd != -1 && close(packfd) == -1 && err == NULL)
err = got_error_from_errno("close");