clk: sunxi: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Wed, 15 Jun 2016 15:55:23 +0000 (17:55 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 16 Jun 2016 07:18:29 +0000 (09:18 +0200)
commit9ca91a65583c73e4be6e9f53323a7ae04e6803ef
tree62e905e14dc5d27c2fc90af709ace724e7b49b56
parent07ea0b4d9a0abde8d252738079a8a811c5132a94
clk: sunxi: remove unused variable

The only use of the local num_parents variable was remove,
so we now get a warning:

drivers/clk/sunxi/clk-sun4i-tcon-ch1.c: In function 'tcon_ch1_get_parent':
drivers/clk/sunxi/clk-sun4i-tcon-ch1.c:82:6: error: unused variable 'num_parents' [-Werror=unused-variable]

This removes the variable.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 4de2d58bc973 ("clk: sunxi: tcon-ch1: Do not return a negative error in get_parent")
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sun4i-tcon-ch1.c