On Mon, Jun 30, 2014 at 7:07 PM, Peter De Schrijver <pdeschrij...@nvidia.com> wrote: > On Mon, Jun 30, 2014 at 11:40:54AM +0200, Sachin Kamat wrote: >> ‘all_lists’ and ‘orphan_list’ is accessed only when DEBUG_FS is defined. >> Thus, make their compilation conditional to fix the below warnings introduced >> by commit 27b8d5f723 ("clk: flatten clk tree in debugfs"): >> drivers/clk/clk.c:40:27: warning: ‘all_lists’ defined but not used >> [-Wunused-variable] >> drivers/clk/clk.c:46:27: warning: ‘orphan_list’ defined but not used >> [-Wunused-variable] >> > > Maybe just move them inside the existing #ifdef CONFIG_DEBUG_FS / #endif?
That makes sense. Thanks for the hint. Will re-spin. Regards, Sachin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/