Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133357
b: refs/heads/master
c: d336ae3
h: refs/heads/master
i:
  133355: 57f94f0
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 290beb0 commit 4d73c5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 7a254df007b3db88bd430474030fec92e7bab22a
refs/heads/master: d336ae3cf567185fb8fc03c10e9394920f7d5ab1
6 changes: 0 additions & 6 deletions trunk/drivers/ide/ide-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,6 @@ EXPORT_SYMBOL_GPL(ide_undecoded_slave);
static int ide_probe_port(ide_hwif_t *hwif)
{
ide_drive_t *drive;
unsigned long flags;
unsigned int irqd;
int i, rc = -ENODEV;

Expand All @@ -797,9 +796,6 @@ static int ide_probe_port(ide_hwif_t *hwif)
if (irqd)
disable_irq(hwif->irq);

local_save_flags(flags);
local_irq_enable_in_hardirq();

if (ide_port_wait_ready(hwif) == -EBUSY)
printk(KERN_DEBUG "%s: Wait for ready failed before probe !\n", hwif->name);

Expand All @@ -813,8 +809,6 @@ static int ide_probe_port(ide_hwif_t *hwif)
rc = 0;
}

local_irq_restore(flags);

/*
* Use cached IRQ number. It might be (and is...) changed by probe
* code above
Expand Down

0 comments on commit 4d73c5d

Please sign in to comment.