There is no need to call pci_disable_msix() in case
the previous call to pci_enable_msix() failed
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
csio_reduce_sqsets(hw, cnt - extra);
}
} else {
csio_reduce_sqsets(hw, cnt - extra);
}
} else {
- if (rv > 0) {
- pci_disable_msix(hw->pdev);
csio_info(hw, "Not using MSI-X, remainder:%d\n", rv);
csio_info(hw, "Not using MSI-X, remainder:%d\n", rv);
kfree(entries);
return -ENOMEM;
kfree(entries);
return -ENOMEM;