diff options
author | Qiuxu Zhuo <qiuxu.zhuo@intel.com> | 2023-01-13 11:27:59 +0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2023-01-25 08:16:53 -0800 |
commit | d2415e2e5330fc11f4c688fa518751bdc90259f5 (patch) | |
tree | f77a86db6c2c58caecf5c0e278ed435020a634c5 /mm | |
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 <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20230113032802.41752-1-qiuxu.zhuo@intel.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions