From: Eric Biggers Date: Thu, 5 Jan 2017 20:01:30 +0000 (-0800) Subject: fscrypt: remove unused 'mode' member of fscrypt_ctx X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f099d616dd689d27b08dec95d0b6f1f302cf8ec4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git fscrypt: remove unused 'mode' member of fscrypt_ctx 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 Signed-off-by: Theodore Ts'o --- diff --git a/include/linux/fscrypto.h b/include/linux/fscrypto.h index 2a2815702095..8635ea46ef6e 100644 --- a/include/linux/fscrypto.h +++ b/include/linux/fscrypto.h @@ -35,7 +35,6 @@ struct fscrypt_ctx { struct list_head free_list; /* Free list */ }; u8 flags; /* Flags */ - u8 mode; /* Encryption mode for tfm */ }; /**