From patchwork Thu Oct 3 17:12:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Sakkinen X-Patchwork-Id: 11172891 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6B738139A for ; Thu, 3 Oct 2019 17:12:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53EF320865 for ; Thu, 3 Oct 2019 17:12:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391660AbfJCRMM (ORCPT ); Thu, 3 Oct 2019 13:12:12 -0400 Received: from mga04.intel.com ([192.55.52.120]:33330 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387758AbfJCRMM (ORCPT ); Thu, 3 Oct 2019 13:12:12 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Oct 2019 10:12:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,253,1566889200"; d="scan'208";a="221850127" Received: from jvalevi1-mobl1.ger.corp.intel.com (HELO localhost) ([10.251.93.117]) by fmsmga002.fm.intel.com with ESMTP; 03 Oct 2019 10:12:10 -0700 From: Jarkko Sakkinen To: linux-sgx@vger.kernel.org Cc: Jarkko Sakkinen Subject: [PATCH] x86/sgx: Remove unused field Date: Thu, 3 Oct 2019 20:12:07 +0300 Message-Id: <20191003171207.7945-1-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-sgx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sgx@vger.kernel.org encl_mm->rcu is not used for anything. Signed-off-by: Jarkko Sakkinen --- arch/x86/kernel/cpu/sgx/encl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/cpu/sgx/encl.h b/arch/x86/kernel/cpu/sgx/encl.h index 71454f059b99..b8ecffe27c93 100644 --- a/arch/x86/kernel/cpu/sgx/encl.h +++ b/arch/x86/kernel/cpu/sgx/encl.h @@ -63,7 +63,6 @@ struct sgx_encl_mm { struct mm_struct *mm; struct list_head list; struct mmu_notifier mmu_notifier; - struct rcu_head rcu; }; struct sgx_encl {