Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328934
b: refs/heads/master
c: f8b0751
h: refs/heads/master
v: v3
  • Loading branch information
Vikas Chaudhary authored and James Bottomley committed Sep 24, 2012
1 parent 9850857 commit 0608839
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7977f825a029bad2a37fbcbdd9623de996154b44
refs/heads/master: f8b0751de6a963016be0bd404fa063d96ed4ba92
7 changes: 7 additions & 0 deletions trunk/drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -5449,6 +5449,13 @@ static void __devexit qla4xxx_remove_adapter(struct pci_dev *pdev)
{
struct scsi_qla_host *ha;

/*
* If the PCI device is disabled then it means probe_adapter had
* failed and resources already cleaned up on probe_adapter exit.
*/
if (!pci_is_enabled(pdev))
return;

ha = pci_get_drvdata(pdev);

if (is_qla40XX(ha))
Expand Down

0 comments on commit 0608839

Please sign in to comment.