projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e149fc1
)
csiostor: Remove superfluous call to pci_disable_msix()
author
Alexander Gordeev
<agordeev@redhat.com>
Mon, 18 Aug 2014 06:01:49 +0000
(08:01 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 16 Sep 2014 16:09:56 +0000
(09:09 -0700)
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>
drivers/scsi/csiostor/csio_isr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/csiostor/csio_isr.c
b/drivers/scsi/csiostor/csio_isr.c
index 7ee9777ae2c58e157e563449c3dc5ae7196ab73f..91ba91dac67517991404a0b1ae6b62db95443ea2 100644
(file)
--- a/
drivers/scsi/csiostor/csio_isr.c
+++ b/
drivers/scsi/csiostor/csio_isr.c
@@
-529,10
+529,8
@@
csio_enable_msix(struct csio_hw *hw)
csio_reduce_sqsets(hw, cnt - extra);
}
} else {
- if (rv > 0) {
- pci_disable_msix(hw->pdev);
+ if (rv > 0)
csio_info(hw, "Not using MSI-X, remainder:%d\n", rv);
- }
kfree(entries);
return -ENOMEM;