diff options
author | Qiuxu Zhuo <qiuxu.zhuo@intel.com> | 2023-01-13 04:27:59 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2023-01-25 17:16:53 +0100 |
commit | d2415e2e5330fc11f4c688fa518751bdc90259f5 (patch) | |
tree | f77a86db6c2c58caecf5c0e278ed435020a634c5 /drivers/edac/sifive_edac.c | |
parent | EDAC/skx_common: Enable EDAC support for the "near" memory (diff) | |
download | linux-d2415e2e5330fc11f4c688fa518751bdc90259f5.tar.xz linux-d2415e2e5330fc11f4c688fa518751bdc90259f5.zip |
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 'drivers/edac/sifive_edac.c')
0 files changed, 0 insertions, 0 deletions