Skip to content

Commit

Permalink
activate_mapping: avoid logging error when there is none
Browse files Browse the repository at this point in the history
Add missing return statement.

Fixes: 470a64b ("activate_mapping: make sure to catch all errors")
Signed-off-by: Robin Jarry <rjarry@redhat.com>
  • Loading branch information
rjarry committed Jul 13, 2023
1 parent 8b23bda commit bc7794d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activate.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ static void activate_mapping(struct irq_info *info, void *data __attribute__((un
if (ret < 0)
goto error;
info->moved = 0; /*migration is done*/
return;
error:
log(TO_ALL, LOG_WARNING,
"Cannot change IRQ %i affinity: %s\n",
Expand Down

0 comments on commit bc7794d

Please sign in to comment.