Commit 145ac100 authored by Jiri Slaby (SUSE)'s avatar Jiri Slaby (SUSE) Committed by Ard Biesheuvel
Browse files

efi/esrt: remove esre_attribute::store()

esre_attribute::store() is not needed since commit af97a77b (efi:
Move some sysfs files to be read-only by root). Drop it.

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

.

Signed-off-by: default avatarJiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: linux-efi@vger.kernel.org
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 2ab0837c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)