EDAC/ie31200: Fold the two channel loops into one loop
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Mar 2025 01:14:08 +0000 (09:14 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 10 Mar 2025 17:46:21 +0000 (10:46 -0700)
commita217961b83ae845fe7247255f0b8a01e3b2ed8a2
tree59d5cf199cc9c232553803426982a7eeb1f60dc2
parentafdbc36555567a622843c5330174260f7ea954fc
EDAC/ie31200: Fold the two channel loops into one loop

Fold the two channel loops to simplify the code and improve readability.
Also, delete the comments related to the DRB register, as this register
is not used here.

 No functional changes intended.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Gary Wang <gary.c.wang@intel.com>
Link: https://lore.kernel.org/r/20250310011411.31685-9-qiuxu.zhuo@intel.com
drivers/edac/ie31200_edac.c