Skip to content

Commit 145ac10

Browse files
Jiri Slaby (SUSE)ardbiesheuvel
authored andcommitted
efi/esrt: remove esre_attribute::store()
esre_attribute::store() is not needed since commit af97a77 (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>
1 parent 2ab0837 commit 145ac10

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/firmware/efi/esrt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ static LIST_HEAD(entry_list);
7575
struct esre_attribute {
7676
struct attribute attr;
7777
ssize_t (*show)(struct esre_entry *entry, char *buf);
78-
ssize_t (*store)(struct esre_entry *entry,
79-
const char *buf, size_t count);
8078
};
8179

8280
static struct esre_entry *to_entry(struct kobject *kobj)

0 commit comments

Comments
 (0)