416d0e9 cmdVcpuPin: Remove dead code

Authored and Committed by mprivozn 8 years ago
    cmdVcpuPin: Remove dead code
    
    There's this condition:
    
    flags & VIR_DOMAIN_AFFECT_CURRENT && virDomainIsActive(dom)
    
    which can never be true since VIR_DOMAIN_AFFECT_CURRENT has hardcoded
    value of zero. Therefore virDomainIsActive() is a dead code. However,
    the condition could make sense if it is rewritten as the following:
    
    !(flags & VIR_DOMAIN_AFFECT_CONFIG) && virDomainIsActive(dom)
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+1 -1