Skip to content

Commit

Permalink
powerpc/eeh: Drop unnecessary label in eeh_pe_change_owner()
Browse files Browse the repository at this point in the history
The label "reset" in eeh_pe_change_owner() is used only for once.
No need to keep it and just drop it. No logical changes introduced.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Gavin Shan authored and Michael Ellerman committed May 12, 2016
1 parent 2efc771 commit d6d63d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/powerpc/kernel/eeh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1336,14 +1336,11 @@ static int eeh_pe_change_owner(struct eeh_pe *pe)
id->subdevice != pdev->subsystem_device)
continue;

goto reset;
return eeh_pe_reset_and_recover(pe);
}
}

return eeh_unfreeze_pe(pe, true);

reset:
return eeh_pe_reset_and_recover(pe);
}

/**
Expand Down

0 comments on commit d6d63d7

Please sign in to comment.