EDAC/device: Remove edac_dev_sysfs_block_attribute::store()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Tue, 13 Feb 2024 11:20:47 +0000 (12:20 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 27 Mar 2024 17:26:57 +0000 (18:26 +0100)
commit9186695ef709933eee8fc96a706bcbd6aec1b396
tree8e9583a1d90dbcbbb65f6e41df7da346d70175c3
parent3667a35a50f4fde8400ab988340a6f84aaebda7b
EDAC/device: Remove edac_dev_sysfs_block_attribute::store()

No one uses this store hook (both BLOCK_ATTR() pass NULL). It actually
never was since its addition in

  fd309a9d8e63 ("drivers/edac: fix leaf sysfs attribute")

so drop it.

Found by https://github.com/jirislaby/clang-struct.

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-4-jirislaby@kernel.org
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
drivers/edac/edac_device.c
drivers/edac/edac_device.h
drivers/edac/edac_device_sysfs.c