diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-02-13 12:20:48 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-03-27 18:26:58 +0100 |
commit | 48bc8869c5ddb0d8d0b6ee81aa81cf1287a20815 (patch) | |
tree | cce22e68a0aa3c4be8745adfa7eacd656314291b /drivers/edac/octeon_edac-l2c.c | |
parent | 9186695ef709933eee8fc96a706bcbd6aec1b396 (diff) |
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/octeon_edac-l2c.c')
-rw-r--r-- | drivers/edac/octeon_edac-l2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/octeon_edac-l2c.c b/drivers/edac/octeon_edac-l2c.c index 4015eb9af6fe..919095d10528 100644 --- a/drivers/edac/octeon_edac-l2c.c +++ b/drivers/edac/octeon_edac-l2c.c @@ -138,7 +138,7 @@ static int octeon_l2c_probe(struct platform_device *pdev) /* 'Tags' are block 0, 'Data' is block 1*/ l2c = edac_device_alloc_ctl_info(0, "l2c", num_tads, "l2c", 2, 0, - NULL, 0, edac_device_alloc_index()); + edac_device_alloc_index()); if (!l2c) return -ENOMEM; |