Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213092
b: refs/heads/master
c: 504c6d1
h: refs/heads/master
v: v3
  • Loading branch information
Vivek Goyal authored and Jens Axboe committed Sep 26, 2010
1 parent 92c08a5 commit 49d15f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 639e2f2aa76eefaf22078dccbbf2f3483f587aa7
refs/heads/master: 504c6d1b44bc6e694bdba8d9a2a4e046275b5e2b
5 changes: 2 additions & 3 deletions trunk/drivers/block/amiflop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,12 +1347,12 @@ static struct request *set_next_request(void)
if (fdc_queue == FD_MAX_UNITS)
fdc_queue = 0;

for(cnt = FD_MAX_UNITS; cnt > 0, cnt--) {
for(cnt = FD_MAX_UNITS; cnt > 0; cnt--) {

if (unit[fdc_queue].type->code == FD_NODRIVE) {
if (++fdc_queue == FD_MAX_UNITS)
fdc_queue = 0;
cotinue;
continue;
}

q = unit[fdc_queue].gendisk->queue;
Expand Down Expand Up @@ -1827,7 +1827,6 @@ static int __init amiga_floppy_probe(struct platform_device *pdev)
return 0;

out_probe:
out_queue:
free_irq(IRQ_AMIGA_CIAA_TB, NULL);
out_irq2:
free_irq(IRQ_AMIGA_DSKBLK, NULL);
Expand Down

0 comments on commit 49d15f8

Please sign in to comment.