* This routine is called to set the UART divisor registers to match
  * the specified baud rate for a serial port.
  */
-static int mxser_change_speed(struct tty_struct *tty)
+static void mxser_change_speed(struct tty_struct *tty)
 {
        struct mxser_port *info = tty->driver_data;
        unsigned cflag, cval, fcr;
-       int ret = 0;
        unsigned char status;
 
        cflag = tty->termios.c_cflag;
        if (!info->ioaddr)
-               return ret;
+               return;
 
        if (mxser_set_baud_method[tty->index] == 0)
                mxser_set_baud(tty, tty_get_baud_rate(tty));
 
        outb(fcr, info->ioaddr + UART_FCR);     /* set fcr */
        outb(cval, info->ioaddr + UART_LCR);
-
-       return ret;
 }
 
 static void mxser_check_modem_status(struct tty_struct *tty,