Hi,

This simple removes the unreachable call to rsh_upload at the end of
standard_upload.

Cheers,
Yvan

2016-03-03  Yvan Roux  <yvan.r...@linaro.org>

        * lib/remote.exp (standard_upload): Remove dead code.
diff --git a/lib/remote.exp b/lib/remote.exp
index 1fd1010..7b2f1ab 100644
--- a/lib/remote.exp
+++ b/lib/remote.exp
@@ -543,8 +543,6 @@ proc standard_upload { dest srcfile destfile } {
     } else {
        return $destfile
     }
-
-    return [rsh_upload $dest $srcfile $destfile]
 }
 
 # A standard procedure to call the appropriate function. It first looks
_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
https://lists.gnu.org/mailman/listinfo/dejagnu

Reply via email to