Re: [PATCH] clk: rockchip: Fix -Wunused-const-variable

2019-07-25 Thread Heiko Stuebner
Am Freitag, 28. Juni 2019, 00:32:38 CEST schrieb Nick Desaulniers: > On Thu, Jun 27, 2019 at 3:22 PM 'Nathan Huckleberry' via Clang Built > Linux wrote: > > > > Clang produces the following warning > > > > drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable > > 'mux_pll_src_3plls_p'

Re: [PATCH] clk: rockchip: Fix -Wunused-const-variable

2019-07-25 Thread Heiko Stuebner
Am Freitag, 28. Juni 2019, 00:22:20 CEST schrieb Nathan Huckleberry: > Clang produces the following warning > > drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable > 'mux_pll_src_3plls_p' [-Wunused-const-variable] > PNAME(mux_pll_src_3plls_p) = { "apll", "gpll", "dpll" }; > > L

Re: [PATCH] clk: rockchip: Fix -Wunused-const-variable

2019-07-22 Thread Heiko Stuebner
Hi Stephen, Am Montag, 22. Juli 2019, 23:35:18 CEST schrieb Stephen Boyd: > Quoting Nathan Huckleberry (2019-06-27 15:22:20) > > Clang produces the following warning > > > > drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable > > 'mux_pll_src_3plls_p' [-Wunused-const-variable] > > P

Re: [PATCH] clk: rockchip: Fix -Wunused-const-variable

2019-07-22 Thread Stephen Boyd
Quoting Nathan Huckleberry (2019-06-27 15:22:20) > Clang produces the following warning > > drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable > 'mux_pll_src_3plls_p' [-Wunused-const-variable] > PNAME(mux_pll_src_3plls_p) = { "apll", "gpll", "dpll" }; > > Looks like this varia

Re: [PATCH] clk: rockchip: Fix -Wunused-const-variable

2019-06-27 Thread Nick Desaulniers
On Thu, Jun 27, 2019 at 3:22 PM 'Nathan Huckleberry' via Clang Built Linux wrote: > > Clang produces the following warning > > drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable > 'mux_pll_src_3plls_p' [-Wunused-const-variable] > PNAME(mux_pll_src_3plls_p) = { "apll", "gpll", "

[PATCH] clk: rockchip: Fix -Wunused-const-variable

2019-06-27 Thread Nathan Huckleberry
Clang produces the following warning drivers/clk/rockchip/clk-rv1108.c:125:7: warning: unused variable 'mux_pll_src_3plls_p' [-Wunused-const-variable] PNAME(mux_pll_src_3plls_p) = { "apll", "gpll", "dpll" }; Looks like this variable was never used. Deleting it to remove the warning. Cc: cla