]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
EDAC/skx_common: Remove unused *NUM*_IMC macros
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Thu, 31 Jul 2025 14:55:34 +0000 (22:55 +0800)
committerTony Luck <tony.luck@intel.com>
Tue, 19 Aug 2025 23:25:22 +0000 (16:25 -0700)
There are no references to the *NUM*_IMC macros, so remove them.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20250731145534.2759334-8-qiuxu.zhuo@intel.com
drivers/edac/skx_common.h

index e7038fd45d0631a43916cc287ce022bb91c2257b..73ba89786cdfd5a5c240dad0cd0f16bda1060ac9 100644 (file)
 #define GET_BITFIELD(v, lo, hi) \
        (((v) & GENMASK_ULL((hi), (lo))) >> (lo))
 
-#define SKX_NUM_IMC            2       /* Memory controllers per socket */
 #define SKX_NUM_CHANNELS       3       /* Channels per memory controller */
 #define SKX_NUM_DIMMS          2       /* Max DIMMS per channel */
 
-#define I10NM_NUM_DDR_IMC      12
 #define I10NM_NUM_DDR_CHANNELS 2
 #define I10NM_NUM_DDR_DIMMS    2
 
-#define I10NM_NUM_HBM_IMC      16
 #define I10NM_NUM_HBM_CHANNELS 2
 #define I10NM_NUM_HBM_DIMMS    1
 
-#define I10NM_NUM_IMC          (I10NM_NUM_DDR_IMC + I10NM_NUM_HBM_IMC)
 #define I10NM_NUM_CHANNELS     MAX(I10NM_NUM_DDR_CHANNELS, I10NM_NUM_HBM_CHANNELS)
 #define I10NM_NUM_DIMMS                MAX(I10NM_NUM_DDR_DIMMS, I10NM_NUM_HBM_DIMMS)
 
-#define NUM_IMC                MAX(SKX_NUM_IMC, I10NM_NUM_IMC)
 #define NUM_CHANNELS   MAX(SKX_NUM_CHANNELS, I10NM_NUM_CHANNELS)
 #define NUM_DIMMS      MAX(SKX_NUM_DIMMS, I10NM_NUM_DIMMS)