Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc811472 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

tty: Remove unnecessary semicolons



These aren't necessary after switch and while blocks.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b6951b8a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -959,7 +959,7 @@ static int receive_flow_control(struct nozomi *dc)
		dev_err(&dc->pdev->dev,
			"ERROR: flow control received for non-existing port\n");
		return 0;
	};
	}

	DBG1("0x%04X->0x%04X", *((u16 *)&dc->port[port].ctrl_dl),
	   *((u16 *)&ctrl_dl));
@@ -1025,7 +1025,7 @@ static enum ctrl_port_type port2ctrl(enum port_type port,
		dev_err(&dc->pdev->dev,
			"ERROR: send flow control " \
			"received for non-existing port\n");
	};
	}
	return CTRL_ERROR;
}

@@ -1805,7 +1805,7 @@ static int ntty_ioctl(struct tty_struct *tty,
	default:
		DBG1("ERR: 0x%08X, %d", cmd, cmd);
		break;
	};
	}

	return rval;
}
+2 −2
Original line number Diff line number Diff line
@@ -680,7 +680,7 @@ static int bfin_serial_startup(struct uart_port *port)
		default:
			uart_dma_ch_rx = uart_dma_ch_tx = 0;
			break;
		};
		}

		if (uart_dma_ch_rx &&
			request_dma(uart_dma_ch_rx, "BFIN_UART_RX") < 0) {
@@ -765,7 +765,7 @@ static void bfin_serial_shutdown(struct uart_port *port)
		break;
	default:
		break;
	};
	}
#endif
	free_irq(uart->rx_irq, uart);
	free_irq(uart->tx_irq, uart);
+1 −1
Original line number Diff line number Diff line
@@ -832,7 +832,7 @@ ip22zilog_convert_to_zs(struct uart_ip22zilog_port *up, unsigned int cflag,
		up->curregs[5] |= Tx8;
		up->parity_mask = 0xff;
		break;
	};
	}
	up->curregs[4] &= ~0x0c;
	if (cflag & CSTOPB)
		up->curregs[4] |= SB2;
+1 −1
Original line number Diff line number Diff line
@@ -690,7 +690,7 @@ static void max310x_handle_tx(struct uart_port *port)
			max310x_port_write(port, MAX310X_THR_REG,
					   xmit->buf[xmit->tail]);
			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
		};
		}
	}

	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
+1 −1
Original line number Diff line number Diff line
@@ -1072,7 +1072,7 @@ static void pmz_convert_to_zs(struct uart_pmac_port *uap, unsigned int cflag,
		uap->curregs[5] |= Tx8;
		uap->parity_mask = 0xff;
		break;
	};
	}
	uap->curregs[4] &= ~(SB_MASK);
	if (cflag & CSTOPB)
		uap->curregs[4] |= SB2;
Loading