From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f67.google.com ([74.125.83.67]:35656 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033126AbdAEUCY (ORCPT ); Thu, 5 Jan 2017 15:02:24 -0500 Received: by mail-pg0-f67.google.com with SMTP id i5so41640228pgh.2 for ; Thu, 05 Jan 2017 12:02:24 -0800 (PST) From: Eric Biggers To: linux-fsdevel@vger.kernel.org Cc: Theodore Ts'o , Jaegeuk Kim , Eric Biggers Subject: [PATCH] fscrypt: remove unused 'mode' member of fscrypt_ctx Date: Thu, 5 Jan 2017 12:01:30 -0800 Message-Id: <20170105200130.36694-1-ebiggers3@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: From: Eric Biggers 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 --- include/linux/fscrypto.h | 1 - 1 file changed, 1 deletion(-) 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 */ }; /** -- 2.11.0.390.gc69c2f50cf-goog