summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/floppy.h
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2006-06-25 05:47:11 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:01:00 -0700
commitafedfd016a78ea1b678886ab6236acbc7650fcfb (patch)
treee507606f1f636d5557ca91305b2891070d75b3f1 /include/asm-i386/floppy.h
parent51849738cf3af4d2c43a657e811a89e7f69eccc2 (diff)
downloadop-kernel-dev-afedfd016a78ea1b678886ab6236acbc7650fcfb.zip
op-kernel-dev-afedfd016a78ea1b678886ab6236acbc7650fcfb.tar.gz
[PATCH] random: remove SA_SAMPLE_RANDOM from floppy driver
The floppy driver is already calling add_disk_randomness as it should, so this was redundant. Signed-off-by: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386/floppy.h')
-rw-r--r--include/asm-i386/floppy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-i386/floppy.h b/include/asm-i386/floppy.h
index 03403045..9cb2793 100644
--- a/include/asm-i386/floppy.h
+++ b/include/asm-i386/floppy.h
@@ -147,9 +147,8 @@ static int fd_request_irq(void)
return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT,
"floppy", NULL);
else
- return request_irq(FLOPPY_IRQ, floppy_interrupt,
- SA_INTERRUPT|SA_SAMPLE_RANDOM,
- "floppy", NULL);
+ return request_irq(FLOPPY_IRQ, floppy_interrupt, SA_INTERRUPT,
+ "floppy", NULL);
}
OpenPOWER on IntegriCloud