* [PATCH TRIVIAL] asus-wmi: Fix unused function build warning
@ 2013-01-14 22:50 Shuah Khan
2013-01-23 9:35 ` Corentin Chary
0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2013-01-14 22:50 UTC (permalink / raw)
To: corentin.chary, matthew.garrett
Cc: acpi4asus-user, platform-driver-x86, LKML, shuahkhan
Fix the following build warning
CC [M] drivers/platform/x86/asus-wmi.o
drivers/platform/x86/asus-wmi.c:1356:13: warning: ‘do_nothing’ defined but not used [-Wunused-function]
Signed-off-by: Shuah Khan <shuah.khan@hp.com>
---
drivers/platform/x86/asus-wmi.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index e41eae3..c11b242 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -1353,11 +1353,6 @@ static int is_display_toggle(int code)
return 0;
}
-static void do_nothing(void)
-{
- return;
-}
-
static void asus_wmi_notify(u32 value, void *context)
{
struct asus_wmi *asus = context;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH TRIVIAL] asus-wmi: Fix unused function build warning
2013-01-14 22:50 [PATCH TRIVIAL] asus-wmi: Fix unused function build warning Shuah Khan
@ 2013-01-23 9:35 ` Corentin Chary
0 siblings, 0 replies; 2+ messages in thread
From: Corentin Chary @ 2013-01-23 9:35 UTC (permalink / raw)
To: shuah.khan
Cc: Matthew Garrett, acpi4asus-user,
platform-driver-x86@vger.kernel.org, LKML, shuahkhan
On Mon, Jan 14, 2013 at 10:50 PM, Shuah Khan <shuah.khan@hp.com> wrote:
> Fix the following build warning
>
> CC [M] drivers/platform/x86/asus-wmi.o
> drivers/platform/x86/asus-wmi.c:1356:13: warning: ‘do_nothing’ defined but not used [-Wunused-function]
>
> Signed-off-by: Shuah Khan <shuah.khan@hp.com>
> ---
> drivers/platform/x86/asus-wmi.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
> index e41eae3..c11b242 100644
> --- a/drivers/platform/x86/asus-wmi.c
> +++ b/drivers/platform/x86/asus-wmi.c
> @@ -1353,11 +1353,6 @@ static int is_display_toggle(int code)
> return 0;
> }
>
> -static void do_nothing(void)
> -{
> - return;
> -}
> -
> static void asus_wmi_notify(u32 value, void *context)
> {
> struct asus_wmi *asus = context;
> --
> 1.7.9.5
>
>
>
Acked-by: Corentin Chary <corentin.chary@gmail.com>
--
Corentin Chary
http://xf.iksaif.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-23 9:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-14 22:50 [PATCH TRIVIAL] asus-wmi: Fix unused function build warning Shuah Khan
2013-01-23 9:35 ` Corentin Chary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox