diff options
author | Gavin Shan <[email protected]> | 2020-09-22 23:04:11 +1000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-09-28 21:52:22 +0100 |
commit | 5735f515843019257913432a8c36eb558be388db (patch) | |
tree | 04620cd436d6f10f0e76d17099322fda032f301f /scripts/gdb/linux/modules.py | |
parent | f75aef392f869018f78cfedf3c320a6b3fcfda6b (diff) |
firmware: arm_sdei: Remove sdei_is_err()
sdei_is_err() is only called by sdei_to_linux_errno(). The logic of
checking on the error number is common to them. They can be combined
finely.
This removes sdei_is_err() and its logic is combined to the function
sdei_to_linux_errno(). Also, the assignment of @err to zero is also
dropped in invoke_sdei_fn() because it's always overridden afterwards.
This shouldn't cause functional changes.
Signed-off-by: Gavin Shan <[email protected]>
Reviewed-by: James Morse <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions