]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
floppy: remove register keyword use from floppy driver
authorJesper Juhl <jesper.juhl@gmail.com>
Wed, 17 Oct 2007 06:30:58 +0000 (23:30 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:43:03 +0000 (08:43 -0700)
commitfdc1ca8abae72c5829e099fd35626b83ecb12666
tree61456f13dcf6066e351e77801c6c4001b9429c05
parentaee9041c5f36aa1353ada995c8f8bb3e6b167e4b
floppy: remove register keyword use from floppy driver

The floppy drive is slow.  These days I see absolutely no good reason why the
floppy driver should try to gain a tiny bit of speed by telling gcc to
optimize access to some variables via the register keyword.  Better to just
leave gcc free to do whatever optimizations it deduces to be sane and not
hamper it by telling it that some variables in the floppy driver are special
and need to be fast (they don't).

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c