d8082d2 qemu: Resolve Coverity DEADCODE

Authored and Committed by John Ferlan 8 years ago
    qemu: Resolve Coverity DEADCODE
    
    Coverity notes that the switch() used to check 'connected' values has
    two DEADCODE paths (_DEFAULT & _LAST).  Since 'connected' is a boolean
    it can only be one or the other (CONNECTED or DISCONNECTED), so it just
    seems pointless to use a switch to get "all" values.  Convert to if-else
    
        
file modified
+3 -11