From patchwork Thu Jan 5 20:01:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9499649 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 93204606B4 for ; Thu, 5 Jan 2017 20:02:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8239B28452 for ; Thu, 5 Jan 2017 20:02:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 764B428456; Thu, 5 Jan 2017 20:02:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED92E28452 for ; Thu, 5 Jan 2017 20:02:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1033130AbdAEUCZ (ORCPT ); Thu, 5 Jan 2017 15:02:25 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=eocEOjLSaF4TNlYmMVddKixFbQFUXFyTaA0aseCHjd4=; b=AS+D2VdYoLZa61deUm/OeIp9Djta1GJTNlAiz0VGA3U5GLtVo9l/c1KY3eCJZjjafe m6L2Vs5TfIyk2q7zC0JHueRxxcm1Q3A41qhNpfXKolcHwzUmJ48Ri5EIU8a9IMIFvJCw DMo4lygGkHBH1DNe7QWmJAobvSXXDngJXH0Zel+Lv4tdqIXSZ8jj3r990QMEQsxWZSO6 Tb8WQBbJK2pZos7WkydpY0JX9tIyEWCc6oKoGSsjRwpuD06wT0E9LyfYsc5R8UgCDT3r +OG/QeFz24gn7Bj8kStKtRGAw4dXlGvpzInbfoax+juwwUHl22PlK6MST44dAC3IVL9y nasQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eocEOjLSaF4TNlYmMVddKixFbQFUXFyTaA0aseCHjd4=; b=Vsrqs8IoTJE5mzrDo+WwJa7ROtpnxqTalwhBvpX71SnIit199PLF7O54WEaPFR+a8M m2njPLf+aBsuSSDS5MPYx6DeUP0CiXHIcwoqthdJDOTn8YPBXYsHEWBEGhPQBoKOgLnj 1tUrcOI/eRlQuuqTebiGwep3x7JyzjRwYko5OwVOtdhAtfMfrfZVm73htYu1+oLwX2uj rMTeL3N/S15xZM+yEMWsgHySVRUaCelTHNd49i1lWo7ONgBP7Hiq2v0wvQw89W835WR3 rCIncJzc6Iwf1m3LX207GT8ANyT/H8QmfrbUBGW+dSJXmg581NiF3tsEdoPcvBFTDgOY Futw== X-Gm-Message-State: AIkVDXKCXO3/Nk4N7DkKz1644FRj4w+YFxwaT/DPJoRjffQxq2nvEFvXN8I7nxFxfm5jog== X-Received: by 10.84.171.228 with SMTP id l91mr159935063plb.4.1483646543391; Thu, 05 Jan 2017 12:02:23 -0800 (PST) Received: from ebiggers-linuxstation.kir.corp.google.com ([100.119.30.131]) by smtp.gmail.com with ESMTPSA id j130sm131721135pgc.2.2017.01.05.12.02.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 05 Jan 2017 12:02:22 -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> X-Mailer: git-send-email 2.11.0.390.gc69c2f50cf-goog Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 */ }; /**