Skip to content

Commit

Permalink
efi/esrt: remove esre_attribute::store()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Slaby (SUSE) authored and Ard Biesheuvel committed Dec 13, 2024
1 parent 2ab0837 commit 145ac10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/firmware/efi/esrt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 145ac10

Please sign in to comment.