diff options
author | Matt Mackall | 2006-06-25 14:47:11 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-06-25 19:01:00 +0200 |
commit | afedfd016a78ea1b678886ab6236acbc7650fcfb (patch) | |
tree | e507606f1f636d5557ca91305b2891070d75b3f1 /include/asm-sh/floppy.h | |
parent | [PATCH] bloat-o-meter: gcc-4 fix (diff) | |
download | kernel-qcow2-linux-afedfd016a78ea1b678886ab6236acbc7650fcfb.tar.gz kernel-qcow2-linux-afedfd016a78ea1b678886ab6236acbc7650fcfb.tar.xz kernel-qcow2-linux-afedfd016a78ea1b678886ab6236acbc7650fcfb.zip |
[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-sh/floppy.h')
-rw-r--r-- | include/asm-sh/floppy.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-sh/floppy.h b/include/asm-sh/floppy.h index 38d7a2942476..307d9ce9f9ed 100644 --- a/include/asm-sh/floppy.h +++ b/include/asm-sh/floppy.h @@ -147,11 +147,10 @@ static int fd_request_irq(void) { if(can_use_virtual_dma) return request_irq(FLOPPY_IRQ, floppy_hardint,SA_INTERRUPT, - "floppy", NULL); + "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); } |