fscrypt: remove unused 'mode' member of fscrypt_ctx
PATCH 1/1 fscrypt: remove unused 'mode' member of fscrypt_ctx
From: Eric Biggers <[email protected]>
Nothing reads or writes fscrypt_ctx.mode, and it doesn't belong there because a fscrypt_ctx is not tied to a specific encryption mode.
Signed-off-by Eric Biggers <[email protected]>
--- include/linux/fscrypto.h | 1 - 1 file changed, 1 deletion(-)
include/linux/fscrypto.h +0 -1
@@ -35,7 +35,6 @@ struct fscrypt_ctx {struct list_head free_list;/* Free list */ };u8 flags;/* Flags */ -u8 mode;/* Encryption mode for tfm */ };/**
Signature · 1 line
2.11.0.390.gc69c2f50cf-goog
Theodore Ts'o
AppliedQuoted 6 lines · Eric Biggers
From: Eric Biggers <[email protected]>
Nothing reads or writes fscrypt_ctx.mode, and it doesn't belong there because a
fscrypt_ctxis not tied to a specific encryption mode.Signed-off-by Eric Biggers <[email protected]>
Thanks, applied.
- Ted