scstadmin, SCST.pm: Remove dead code

_syswrite() either returns a positive number or undef but never -1.
Hence remove code that would only be executed if _syswrite() would
have returned -1.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5059 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-10-10 15:04:59 +00:00
parent 2a93823408
commit 5fc9261fc8

View File

@@ -1472,7 +1472,6 @@ sub removeVirtualTarget {
close $io;
return SCST_C_TGT_BUSY if ($bytes == -1);
return FALSE if ($self->{'debug'} || $bytes);
return SCST_C_TGT_REM_FAIL;
}