diff --git a/scripts/setup.sh b/scripts/setup.sh index de1d460b6..b0d8b4faa 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -425,10 +425,6 @@ function cleanup_linux() { files_to_clean+=(/dev/shm/@(@($match_spdk)_trace|spdk_iscsi_conns)) files_to_clean+=("${file_locks[@]}") - if ((${#files_to_clean[@]} == 0)); then - echo "Clean" - return 0 - fi # This may fail in case path that readlink attempts to resolve suddenly # disappears (as it may happen with terminating processes).