988cf706accde68911964e78b3e63a9c27ade512
braney
  Tue Jan 26 12:20:41 2021 -0800
remove unused remoteFileExists()

diff --git src/lib/osunix.c src/lib/osunix.c
index bcfa5a2..545ad93 100644
--- src/lib/osunix.c
+++ src/lib/osunix.c
@@ -775,30 +775,15 @@
 if (lstat(path, &sb) == -1)
     errnoAbort("lstat failure on %s", path);
 if ((sb.st_mode & S_IFMT) != S_IFLNK)
     errnoAbort("path %s not a symlink.", path);
 return mustReadSymlinkExt(path, &sb);
 }
 
 
 void makeSymLink(char *oldName, char *newName)
 /* Return a symbolic link from newName to oldName or die trying */
 {
 int err = symlink(oldName, newName);
 if (err < 0)
      errnoAbort("Couldn't make symbolic link from %s to %s\n", oldName, newName);
 }
-
-boolean remoteFileExists(char *remoteLogin, char *file)
-/* Check to see if the file exists on the remote machine. */
-{
-char buffer[4096];
-
-//  rsync might be a better choice, but checking for non-zero is more complicated
-//safef(buffer, sizeof buffer, "rsync -qnav qateam@%s:%s /dev/null 2> /dev/null", server, file);
-safef(buffer, sizeof buffer, "ssh %s test -s \"%s\"", remoteLogin, file);
-
-int ret = system(buffer);
-if (ret)
-    return FALSE;
-return TRUE;
-}