diff mbox

serial: 8250: fix uninitialized compiler warning

Message ID 1289321723.2260.14.camel@cowboy (mailing list archive)
State New, archived
Headers show

Commit Message

Davidlohr Bueso Nov. 9, 2010, 4:55 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 4d8e14b..f734eee 100644
--- a/drivers/serial/8250.c
+++ b/drivers/serial/8250.c
@@ -1693,7 +1693,7 @@  static int serial_link_irq_chain(struct uart_8250_port *up)
 
 static void serial_unlink_irq_chain(struct uart_8250_port *up)
 {
-	struct irq_info *i;
+	struct irq_info *i = NULL;
 	struct hlist_node *n;
 	struct hlist_head *h;