Commit dca98169 authored by Joel Schopp's avatar Joel Schopp Committed by Aurelien Jarno
Browse files

remove pointless if from vl.c



We already set sockets to nonzero in the code above.
So this if statement always evaluates true.  Remove it.

Signed-off-by: default avatarJoel Schopp <jschopp@austin.ibm.com>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent ca1d6ac6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -801,11 +801,9 @@ static void smp_parse(const char *optarg)
            threads = threads > 0 ? threads : 1;
            cores = smp / (sockets * threads);
        } else {
            if (sockets) {
            threads = smp / (cores * sockets);
        }
    }
    }
    smp_cpus = smp;
    smp_cores = cores > 0 ? cores : 1;
    smp_threads = threads > 0 ? threads : 1;