]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
efivarfs: remove unused efi_variable.Attributes and efivar_entry.kobj
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 7 Jan 2025 02:35:20 +0000 (18:35 -0800)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 9 Jan 2025 14:25:14 +0000 (15:25 +0100)
commitc57b6e1d8a5c133dd5f6293de262701a55d11335
tree297841464935b9b836b9979227c265200a14c873
parent78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
efivarfs: remove unused efi_variable.Attributes and efivar_entry.kobj

These fields look to be remnants of older code: Attributes was likely
meant to stash the variable attributes, but doesn't because we always
read them from the variable store and kobj was likely left over from
an older iteration of code where we manually created the objects
instead of using a filesystem.

[ ardb: these fields were used by the sysfs based 'efivars' precursor to
efivarfs, which was removed in commit 0f5b2c69a4cb ("efi: vars:
Remove deprecated 'efivars' sysfs interface") ]

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
fs/efivarfs/internal.h
fs/efivarfs/super.c