Skip to contentSkip to conversation

fscrypt: remove unused 'mode' member of fscrypt_ctx

PATCH Applied Eric Biggers 2 participants 2 messages Jan 5, 2017 – Jan 8, 2017 VFS

lore
Share & tools
lore
#0 lore raw

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.

---
 include/linux/fscrypto.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/fscrypto.h +0 -1
index 2a2815702095..8635ea46ef6e 100644
@@ -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