Tools: hv: do not add redundant '/' in hv_start_fcopy()
[jlayton/linux.git] / tools / hv / hv_fcopy_daemon.c
index 1a238726dda675266264e2b0ec8052c91d784121..9445d8f264a4612fb4ebd2b5c4251b999a21a6c3 100644 (file)
@@ -43,12 +43,6 @@ static int hv_start_fcopy(struct hv_start_fcopy *smsg)
        int error = HV_E_FAIL;
        char *q, *p;
 
-       /*
-        * If possile append a path seperator to the path.
-        */
-       if (strlen((char *)smsg->path_name) < (W_MAX_PATH - 2))
-               strcat((char *)smsg->path_name, "/");
-
        p = (char *)smsg->path_name;
        snprintf(target_fname, sizeof(target_fname), "%s/%s",
                 (char *)smsg->path_name, (char *)smsg->file_name);