megasas: remove useless check for cmd->frame
commit8cc46787b5b58f01a11c919c7ff939ed009e27fc
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Jul 2016 16:42:53 +0000 (15 18:42 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 17 Jul 2016 07:59:21 +0000 (17 09:59 +0200)
treef9e173b8da248a93f90590e24b4147a5f1cb9311
parent8bff06a0bbf257a2083223534c1607bf87d913e6
megasas: remove useless check for cmd->frame

megasas_enqueue_frame always returns with non-NULL cmd->frame.
Remove the "else" part as it is dead code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/megasas.c