diff options
author | Qiuxu Zhuo <[email protected]> | 2023-01-13 11:27:59 +0800 |
---|---|---|
committer | Tony Luck <[email protected]> | 2023-01-25 08:16:53 -0800 |
commit | d2415e2e5330fc11f4c688fa518751bdc90259f5 (patch) | |
tree | f77a86db6c2c58caecf5c0e278ed435020a634c5 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 6e8746cb735166eaf3ceb086b31bb0431f5e3532 (diff) |
EDAC/skx_common: Delete duplicated and unreachable code
skx_mce_check_error() returns early if the error isn't from memory.
So when skx_mce_output_error() is invoked from skx_mce_check_error(),
it doesn't need to re-check whether the error is from memory. Delete
the duplicated and unreachable code from skx_mce_output_error().
Signed-off-by: Qiuxu Zhuo <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions