net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup
[linux-2.6-block.git] / drivers / tty / tty_baudrate.c
index 48b5de659c77f2f9775de9da0222d0f68300c97e..426b1252781a75b80d145c64ded814e21e9b8449 100644 (file)
@@ -147,7 +147,7 @@ void tty_termios_encode_baud_rate(struct ktermios *termios,
        int iclose = ibaud/50, oclose = obaud/50;
        int ibinput = 0;
 
-       if (obaud == 0)                 /* CD dropped             */
+       if (obaud == 0)                 /* CD dropped */
                ibaud = 0;              /* Clear ibaud to be sure */
 
        termios->c_ispeed = ibaud;
@@ -159,8 +159,9 @@ void tty_termios_encode_baud_rate(struct ktermios *termios,
 #endif
 #ifdef BOTHER
        /* If the user asked for a precise weird speed give a precise weird
-          answer. If they asked for a Bfoo speed they may have problems
-          digesting non-exact replies so fuzz a bit */
+        * answer. If they asked for a Bfoo speed they may have problems
+        * digesting non-exact replies so fuzz a bit.
+        */
 
        if ((termios->c_cflag & CBAUD) == BOTHER) {
                oclose = 0;
@@ -191,7 +192,8 @@ void tty_termios_encode_baud_rate(struct ktermios *termios,
                if (ibaud - iclose <= baud_table[i] &&
                    ibaud + iclose >= baud_table[i]) {
                        /* For the case input == output don't set IBAUD bits
-                          if the user didn't do so */
+                        * if the user didn't do so.
+                        */
                        if (ofound == i && !ibinput)
                                ifound  = i;
 #ifdef IBSHIFT
@@ -211,7 +213,8 @@ void tty_termios_encode_baud_rate(struct ktermios *termios,
        if (ofound == -1)
                termios->c_cflag |= BOTHER;
        /* Set exact input bits only if the input and output differ or the
-          user already did */
+        * user already did.
+        */
        if (ifound == -1 && (ibaud != obaud || ibinput))
                termios->c_cflag |= (BOTHER << IBSHIFT);
 #else