]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86 floppy: kill off the 'register' keyword from header
authorJesper Juhl <jesper.juhl@gmail.com>
Wed, 26 Mar 2008 01:16:15 +0000 (02:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:30 +0000 (17:41 +0200)
commit537e33136443bcd53ee13bc32a8f0fa46b1f3fdb
treee0604078d67cd580750681aea4e8b768056c0f17
parentdd46e3ca73d136aa7f9f1813e4cbb6934c3611cc
x86 floppy: kill off the 'register' keyword from header

When compilers became generally better at optimizing code than humans, the
register keyword became mostly useless. For the floppy driver it certainly
is since it's so slow compared to the rest of the system that optimizing
access to a single variable or two isn't going to make any real difference
So let's just leave it to the compiler - it'll do a better job anyway.

This patch does away with a few register keywords in the x86 floppy driver.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/floppy.h