remove redundant existence check in 'got add'; same check is done later
diff --git a/got/got.c b/got/got.c
index 0b15a8b..5849b2a 100644
--- a/got/got.c
+++ b/got/got.c
@@ -2822,16 +2822,6 @@ cmd_add(int argc, char *argv[])
if (argc < 1)
usage_add();
- /* make sure each file exists before doing anything halfway */
- for (x = 0; x < argc; x++) {
- char *path = realpath(argv[x], NULL);
- if (path == NULL) {
- error = got_error_from_errno2("realpath", argv[x]);
- goto done;
- }
- free(path);
- }
-
cwd = getcwd(NULL, 0);
if (cwd == NULL) {
error = got_error_from_errno("getcwd");