]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: ICS8N3QV01 remove superfluous code
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 15 Feb 2020 20:27:38 +0000 (21:27 +0100)
committerLukasz Majewski <lukma@denx.de>
Mon, 24 Aug 2020 09:03:26 +0000 (11:03 +0200)
commit6befc1f900db638ae54ea1bbab51a42cd1d5a153
tree97b67323cd28bb19aec03f7590a07ad7450cba0d
parentc84341f5acd6140f361300f02b354a7238f95b72
clk: ICS8N3QV01 remove superfluous code

Do not calculate a unused value of n which is overwritten in both branches
of the subsequent if statement.

Identified by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
drivers/clk/ics8n3qv01.c