Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133359
b: refs/heads/master
c: 0688d3a
h: refs/heads/master
i:
  133357: 4d73c5d
  133355: 57f94f0
  133351: cc82143
  133343: 22dcde8
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 7296afb commit fa93c01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 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: 7362951b4818763b6abaecd3f870739125145cc1
refs/heads/master: 0688d3a6ba9bf4e1df62ce627ad1daa0e2bf9148
4 changes: 0 additions & 4 deletions trunk/drivers/ide/ide-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,6 @@ static int init_irq (ide_hwif_t *hwif)
irq_handler_t irq_handler;
int sa = 0;

mutex_lock(&ide_cfg_mtx);

irq_handler = hwif->host->irq_handler;
if (irq_handler == NULL)
irq_handler = ide_intr;
Expand Down Expand Up @@ -979,10 +977,8 @@ static int init_irq (ide_hwif_t *hwif)
printk(KERN_CONT " (serialized)");
printk(KERN_CONT "\n");

mutex_unlock(&ide_cfg_mtx);
return 0;
out_up:
mutex_unlock(&ide_cfg_mtx);
return 1;
}

Expand Down

0 comments on commit fa93c01

Please sign in to comment.