Skip to content

Commit

Permalink
Slightly simplify an error message in acpi_ds_result_push()
Browse files Browse the repository at this point in the history
'object' is known to be NULL at this point. There is little value to log it twice in the error message.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
  • Loading branch information
tititiou36 committed May 29, 2023
1 parent e948142 commit 3a9dbc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/components/dispatcher/dswstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ AcpiDsResultPush (
if (!Object)
{
ACPI_ERROR ((AE_INFO,
"Null Object! Obj=%p State=%p Num=%u",
Object, WalkState, WalkState->ResultCount));
"Null Object! State=%p Num=%u",
WalkState, WalkState->ResultCount));
return (AE_BAD_PARAMETER);
}

Expand Down

0 comments on commit 3a9dbc5

Please sign in to comment.