]> git.hungrycats.org Git - linux/commitdiff
[SERIAL] Fix warning and remove mach-types.h include
authorRussell King <rmk@flint.arm.linux.org.uk>
Tue, 5 Oct 2004 12:08:39 +0000 (13:08 +0100)
committerRussell King <rmk@flint.arm.linux.org.uk>
Tue, 5 Oct 2004 12:08:39 +0000 (13:08 +0100)
- s3c2410 doesn't use mach-types.h
- remove unused 'ret' variable

drivers/serial/amba-pl011.c
drivers/serial/s3c2410.c

index c91f6b1492d1ce66d0e77870ec6dd4ee80e7916f..69bd7f5ce91ae41812f9972134c7b4639ae60a55 100644 (file)
@@ -696,7 +696,6 @@ static int __init pl011_console_setup(struct console *co, char *options)
        int bits = 8;
        int parity = 'n';
        int flow = 'n';
-       int ret;
 
        /*
         * Check whether an invalid uart number has been specified, and
index 22a02bd69a4a2b15a1de96d60b253912d82ba1a2..254112260df0bb0d9df4d14fdc1efda386c90f6d 100644 (file)
@@ -26,8 +26,6 @@
 #include <asm/hardware.h>
 #include <asm/arch/regs-serial.h>
 
-#include <asm/mach-types.h>
-
 #if 0
 #include <asm/debug-ll.h>
 #define dbg(x...) llprintk(x)