2008-10-15 02:18:48

by Gustavo F. Padovan

[permalink] [raw]
Subject: [PATCH] 8250: remove ununsed variable

'i' isn't used in serial8250_init()

Signed-off-by: Gustavo F. Padovan <[email protected]>
---
drivers/serial/8250.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index d4104a3..625fc20 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -2960,7 +2960,7 @@ EXPORT_SYMBOL(serial8250_unregister_port);

static int __init serial8250_init(void)
{
- int ret, i;
+ int ret;

if (nr_uarts > UART_NR)
nr_uarts = UART_NR;
--
1.5.6.4