summaryrefslogtreecommitdiffstats
path: root/drivers/edac/qcom_edac.c
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-02-13 12:20:48 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-27 18:26:58 +0100
commit48bc8869c5ddb0d8d0b6ee81aa81cf1287a20815 (patch)
treecce22e68a0aa3c4be8745adfa7eacd656314291b /drivers/edac/qcom_edac.c
parent9186695ef709933eee8fc96a706bcbd6aec1b396 (diff)
downloadlinux-stable-48bc8869c5ddb0d8d0b6ee81aa81cf1287a20815.tar.gz
linux-stable-48bc8869c5ddb0d8d0b6ee81aa81cf1287a20815.tar.bz2
linux-stable-48bc8869c5ddb0d8d0b6ee81aa81cf1287a20815.zip
EDAC: Remove dynamic attributes from edac_device_alloc_ctl_info()
Dynamic attributes are not passed from any caller of edac_device_alloc_ctl_info(). Drop this unused/untested functionality completely. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240213112051.27715-5-jirislaby@kernel.org Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Diffstat (limited to 'drivers/edac/qcom_edac.c')
-rw-r--r--drivers/edac/qcom_edac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/qcom_edac.c b/drivers/edac/qcom_edac.c
index 5539917c01dd..d3cd4cc54ace 100644
--- a/drivers/edac/qcom_edac.c
+++ b/drivers/edac/qcom_edac.c
@@ -349,7 +349,6 @@ static int qcom_llcc_edac_probe(struct platform_device *pdev)
/* Allocate edac control info */
edev_ctl = edac_device_alloc_ctl_info(0, "qcom-llcc", 1, "bank",
llcc_driv_data->num_banks, 1,
- NULL, 0,
edac_device_alloc_index());
if (!edev_ctl)