summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/adx_wdt.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2011-02-20 19:07:21 +0100
committerMatthew Garrett <mjg@redhat.com>2011-03-28 12:07:18 +0200
commit25bb067a08c5db70cd8bcf9e160ac81718ea075c (patch)
tree58241bf2f9f787e70bbd02615fa04d5efd560cf2 /drivers/watchdog/adx_wdt.c
parenthp-wmi: check query return value in hp_wmi_perform_query (diff)
downloadlinux-25bb067a08c5db70cd8bcf9e160ac81718ea075c.tar.xz
linux-25bb067a08c5db70cd8bcf9e160ac81718ea075c.zip
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>
Diffstat (limited to 'drivers/watchdog/adx_wdt.c')
0 files changed, 0 insertions, 0 deletions