Commit a3632439 authored by Russell King's avatar Russell King

[SERIAL] Fix warning and remove mach-types.h include

- s3c2410 doesn't use mach-types.h
- remove unused 'ret' variable
parent b9ae68e4
...@@ -696,7 +696,6 @@ static int __init pl011_console_setup(struct console *co, char *options) ...@@ -696,7 +696,6 @@ static int __init pl011_console_setup(struct console *co, char *options)
int bits = 8; int bits = 8;
int parity = 'n'; int parity = 'n';
int flow = 'n'; int flow = 'n';
int ret;
/* /*
* Check whether an invalid uart number has been specified, and * Check whether an invalid uart number has been specified, and
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/arch/regs-serial.h> #include <asm/arch/regs-serial.h>
#include <asm/mach-types.h>
#if 0 #if 0
#include <asm/debug-ll.h> #include <asm/debug-ll.h>
#define dbg(x...) llprintk(x) #define dbg(x...) llprintk(x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment