]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: dflt: remove redundant unlikely
authorSuman Anna <s-anna@ti.com>
Tue, 5 Apr 2016 18:28:57 +0000 (13:28 -0500)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 15 Apr 2016 22:52:48 +0000 (15:52 -0700)
commit622356dd6c361b2c019a071710af5fc75d558a77
tree4145abb90502c194a1ad1cb1b1c68dd5756a20a9
parentd09396c10f0649d0d135ae7f43f24c0074393213
clk: ti: dflt: remove redundant unlikely

Commit 2c8636a551b4 ("clk: ti: dflt: fix enable_reg validity check")
fixed a validation check by using an IS_ERR() macro within the
existing unlikely expression, but IS_ERR() macro already has an
unlikely inside it, so get rid of the redundant unlikely macro
from the validation check.

Reported-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ti/clkt_dflt.c