efivarfs: Remove unused internal struct members
authorTim Schumacher <timschumi@gmx.de>
Thu, 28 Mar 2024 20:50:32 +0000 (21:50 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sat, 13 Apr 2024 08:33:02 +0000 (10:33 +0200)
commit89ea21d70d9c9968dfd10c7e30520d0f03d465c2
tree86adada399d428eef7f1f7152b8fcbf95aae8828
parent5b625181fbde4a27f84fd97eb16ff7513388d9a8
efivarfs: Remove unused internal struct members

The structure was moved to the efivarfs internals in commit 2d82e6227ea1
("efi: vars: Move efivar caching layer into efivarfs") after previously
being used as the data ABI for efivars until its removal in commit
0f5b2c69a4cb ("efi: vars: Remove deprecated 'efivars' sysfs interface").

As efivarfs only uses the structure for the variable name caching layer,
the data-related members were never in use. Remove them to avoid
implying that efivarfs is bound by the same restrictions that efivars
once had. While at it, remove the packed attribute, since we no longer
have to guarantee a stable layout.

Signed-off-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
fs/efivarfs/internal.h