]> git.karo-electronics.de Git - linux-beck.git/commit
hp-wmi: remove a variable that is never read
authorAnssi Hannula <anssi.hannula@iki.fi>
Sun, 20 Feb 2011 18:07:21 +0000 (20:07 +0200)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:18 +0000 (06:07 -0400)
commit25bb067a08c5db70cd8bcf9e160ac81718ea075c
tree58241bf2f9f787e70bbd02615fa04d5efd560cf2
parent9af0e0fb70ed8e2387323c19496a7e174363f7b6
hp-wmi: remove a variable that is never read

Remove the status variable from hp_wmi_perform_query which holds the
return value from wmi_evaluate_method(). It is never checked as the
function bails out if the output buffer hasn't been allocated which
indicates the call failed.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/hp-wmi.c