diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2024-12-11 10:05:03 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2024-12-13 10:43:58 +0300 |
commit | 145ac100b63732291c0612528444d7f5ab593fb2 (patch) | |
tree | 1f488ee88fe4e3c4922e7682748fc2d674f96188 | |
parent | 2ab0837cb91b7de507daa145d17b3b6b2efb3abf (diff) | |
download | linux-145ac100b63732291c0612528444d7f5ab593fb2.tar.xz |
efi/esrt: remove esre_attribute::store()
esre_attribute::store() is not needed since commit af97a77bc01c (efi:
Move some sysfs files to be read-only by root). Drop it.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: linux-efi@vger.kernel.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
-rw-r--r-- | drivers/firmware/efi/esrt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/firmware/efi/esrt.c b/drivers/firmware/efi/esrt.c index 7a81c0ce4780..4bb7b0584bc9 100644 --- a/drivers/firmware/efi/esrt.c +++ b/drivers/firmware/efi/esrt.c @@ -75,8 +75,6 @@ static LIST_HEAD(entry_list); struct esre_attribute { struct attribute attr; ssize_t (*show)(struct esre_entry *entry, char *buf); - ssize_t (*store)(struct esre_entry *entry, - const char *buf, size_t count); }; static struct esre_entry *to_entry(struct kobject *kobj) |