ARM: footbridge: remove leftover from personal-server
authorArnd Bergmann <arnd@arndb.de>
Fri, 1 Jul 2022 09:41:34 +0000 (11:41 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 9 Sep 2022 15:14:28 +0000 (17:14 +0200)
The machine was removed a while ago, and the checks are
now useless.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-footbridge/isa.c
drivers/tty/serial/21285.c

index 3375ac2..84caccd 100644 (file)
@@ -80,12 +80,11 @@ static int __init footbridge_isa_init(void)
        int err = 0;
 
        /* Personal server doesn't have RTC */
-       if (!machine_is_personal_server()) {
-               isa_rtc_init();
-               err = platform_device_register(&rtc_device);
-               if (err)
-                       printk(KERN_ERR "Unable to register RTC device: %d\n", err);
-       }
+       isa_rtc_init();
+       err = platform_device_register(&rtc_device);
+       if (err)
+               printk(KERN_ERR "Unable to register RTC device: %d\n", err);
+
        err = platform_device_register(&serial_device);
        if (err)
                printk(KERN_ERR "Unable to register serial device: %d\n", err);
index 7520cc0..65d6af7 100644 (file)
@@ -461,9 +461,6 @@ static int __init serial21285_console_setup(struct console *co, char *options)
        int parity = 'n';
        int flow = 'n';
 
-       if (machine_is_personal_server())
-               baud = 57600;
-
        /*
         * Check whether an invalid uart number has been specified, and
         * if so, search for the first available port that does have