Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142089
b: refs/heads/master
c: a2f5bfc
h: refs/heads/master
i:
  142087: de1064c
v: v3
  • Loading branch information
Hannes Reinecke authored and James Bottomley committed Apr 3, 2009
1 parent a9a2dbc commit 18874cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c59c61493febac295e71a2c017fc0075620dbc6f
refs/heads/master: a2f5bfcf711aa72ad5587b533a1909334c2533a4
6 changes: 2 additions & 4 deletions trunk/drivers/scsi/aic7xxx/aic79xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,14 +377,12 @@ ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry)
error = ahd_init(ahd);
if (error != 0)
return (error);
ahd->init_level++;

/*
* Allow interrupts now that we are completely setup.
*/
error = ahd_pci_map_int(ahd);
if (!error)
ahd->init_level++;
return error;
return ahd_pci_map_int(ahd);
}

#ifdef CONFIG_PM
Expand Down
8 changes: 2 additions & 6 deletions trunk/drivers/scsi/aic7xxx/aic7xxx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,16 +960,12 @@ ahc_pci_config(struct ahc_softc *ahc, const struct ahc_pci_identity *entry)
error = ahc_init(ahc);
if (error != 0)
return (error);
ahc->init_level++;

/*
* Allow interrupts now that we are completely setup.
*/
error = ahc_pci_map_int(ahc);
if (error != 0)
return (error);

ahc->init_level++;
return (0);
return ahc_pci_map_int(ahc);
}

/*
Expand Down

0 comments on commit 18874cc

Please sign in to comment.