Commit dc6bbc99 authored by Tobias Klauser's avatar Tobias Klauser Committed by David Brown

msm_serial: Remove redundant unlikely()

IS_ERR() already implies unlikely(), so it can be omitted here.
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
parent 33069739
...@@ -686,7 +686,7 @@ static int __init msm_serial_probe(struct platform_device *pdev) ...@@ -686,7 +686,7 @@ static int __init msm_serial_probe(struct platform_device *pdev)
msm_port = UART_TO_MSM(port); msm_port = UART_TO_MSM(port);
msm_port->clk = clk_get(&pdev->dev, "uart_clk"); msm_port->clk = clk_get(&pdev->dev, "uart_clk");
if (unlikely(IS_ERR(msm_port->clk))) if (IS_ERR(msm_port->clk))
return PTR_ERR(msm_port->clk); return PTR_ERR(msm_port->clk);
port->uartclk = clk_get_rate(msm_port->clk); port->uartclk = clk_get_rate(msm_port->clk);
printk(KERN_INFO "uartclk = %d\n", port->uartclk); printk(KERN_INFO "uartclk = %d\n", port->uartclk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment