Commit b6353702 authored by Qinglang Miao's avatar Qinglang Miao Committed by Greg Kroah-Hartman
Browse files

serial: mvebu-uart: simplify the return expression of mvebu_uart_probe()

parent 24c79692
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -912,10 +912,7 @@ static int mvebu_uart_probe(struct platform_device *pdev)
	udelay(1);
	writel(0, port->membase + UART_CTRL(port));

	ret = uart_add_one_port(&mvebu_uart_driver, port);
	if (ret)
		return ret;
	return 0;
	return uart_add_one_port(&mvebu_uart_driver, port);
}

static struct mvebu_uart_driver_data uart_std_driver_data = {