projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3306973
)
msm_serial: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:51:32 +0000
(15:51 +0100)
committer
David Brown
<davidb@codeaurora.org>
Thu, 9 Dec 2010 21:38:45 +0000
(13:38 -0800)
IS_ERR() already implies unlikely(), so it can be omitted here.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David Brown <davidb@codeaurora.org>
drivers/serial/msm_serial.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/msm_serial.c
b/drivers/serial/msm_serial.c
index f8c816e7725de2152f9f80b50a0962c6f88c82e4..8e43a7b69e646accf723a020ba8ef5f8a05841d0 100644
(file)
--- a/
drivers/serial/msm_serial.c
+++ b/
drivers/serial/msm_serial.c
@@
-686,7
+686,7
@@
static int __init msm_serial_probe(struct platform_device *pdev)
msm_port = UART_TO_MSM(port);
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);
port->uartclk = clk_get_rate(msm_port->clk);
printk(KERN_INFO "uartclk = %d\n", port->uartclk);