Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178632
b: refs/heads/master
c: c03b26a
h: refs/heads/master
v: v3
  • Loading branch information
Paul Rolland authored and Len Brown committed Dec 30, 2009
1 parent 7efdb51 commit 49f5a7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fda11e61ff8a4e3a8ebbd434e46560b67cc0ca9d
refs/heads/master: c03b26a5a5597a59b2e247d005d5901430109a8a
6 changes: 2 additions & 4 deletions trunk/drivers/platform/x86/wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,7 @@ wmi_notify_handler handler, void *data)
if (!guid || !handler)
return AE_BAD_PARAMETER;

find_guid(guid, &block);
if (!block)
if (!find_guid(guid, &block))
return AE_NOT_EXIST;

if (block->handler)
Expand Down Expand Up @@ -521,8 +520,7 @@ acpi_status wmi_remove_notify_handler(const char *guid)
if (!guid)
return AE_BAD_PARAMETER;

find_guid(guid, &block);
if (!block)
if (!find_guid(guid, &block))
return AE_NOT_EXIST;

if (!block->handler)
Expand Down

0 comments on commit 49f5a7a

Please sign in to comment.