ChangeSet 1.2181.49.2, 2005/03/30 12:22:42+01:00, [EMAIL PROTECTED]

        [SERIAL] Remove serial8250_late_console_init
        
        The serial core will try to register the console each time a port
        is registered with it.  This makes serial8250_late_console_init
        redundant, so remove it.
        
        Signed-off-by: Russell King <[EMAIL PROTECTED]>



 8250.c |    8 --------
 1 files changed, 8 deletions(-)


diff -Nru a/drivers/serial/8250.c b/drivers/serial/8250.c
--- a/drivers/serial/8250.c     2005-04-03 21:18:29 -07:00
+++ b/drivers/serial/8250.c     2005-04-03 21:18:29 -07:00
@@ -2194,14 +2194,6 @@
 }
 console_initcall(serial8250_console_init);
 
-static int __init serial8250_late_console_init(void)
-{
-       if (!(serial8250_console.flags & CON_ENABLED))
-               register_console(&serial8250_console);
-       return 0;
-}
-late_initcall(serial8250_late_console_init);
-
 static int __init find_port(struct uart_port *p)
 {
        int line;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to