From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH 03/10] atmel: hide unused procfs helpers Date: Tue, 31 Jul 2018 07:21:14 +0000 (UTC) Message-ID: <20180731072114.7D47B60708@smtp.codeaurora.org> References: <20180713064658.10340-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Cc: , , , , , YueHaibing To: YueHaibing Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:57648 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729632AbeGaJAJ (ORCPT ); Tue, 31 Jul 2018 05:00:09 -0400 In-Reply-To: <20180713064658.10340-1-yuehaibing@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: YueHaibing wrote: > When CONFIG_PROC_FS isn't set, gcc warning this: > > drivers/net/wireless/atmel/atmel.c:1402:12: warning: ‘atmel_proc_show’ defined but not used [-Wunused-function] > static int atmel_proc_show(struct seq_file *m, void *v) > ^ > fix this by adding #ifdef around it. > > Signed-off-by: YueHaibing Patch applied to wireless-drivers-next.git, thanks. 8b8f3278d241 atmel: hide unused procfs helpers -- https://patchwork.kernel.org/patch/10522647/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches