bfa: Do not call pci_enable_msix() after it failed once
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 16 Jul 2014 18:05:06 +0000 (20:05 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Jul 2014 12:38:52 +0000 (08:38 -0400)
commitcd69a09eb2851b3320a8526781916f5a2a1660a2
tree03e734db3f02b17d242903230e5c490d886e1ca0
parent1e5df2a5332a865fc8a724b5455e29028852a905
bfa: Do not call pci_enable_msix() after it failed once

Function pci_enable_msix() should not be called in case
it threw a negative errno from a previous call.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Acked-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/bfa/bfad.c