Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4997877imm; Tue, 18 Sep 2018 02:39:56 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZzIPgUkwFWnpnC6wSLzkH/U3xnIrVEAmjD0U0tPZ5/eZYDhNrXhlAQ1d5RoNY/gelCYGbM X-Received: by 2002:a62:e008:: with SMTP id f8-v6mr30010595pfh.208.1537263595945; Tue, 18 Sep 2018 02:39:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537263595; cv=none; d=google.com; s=arc-20160816; b=BKW1z5yqopAVu2jG4U878XfBq58C6KDapCPUye+mzq7AKWPtVDVP4rXF/8GF8ymb+f lBHWtmopwPQBN8J8f2nJN6M5Y1tjxEWwbxERSS2DEppVKepEbsbn07c6rCXzQyw0JOuO Gf835kLb/c/lkFzPRvY0qmXOU2nDBYJbpGu6SaP8zT/l5YNBDHUDg+WUPI9lMP6O2Jbk gSeWuFN2jctJ2GHLwF5KEos5kbdmK/stDxVKTVxm1j/76rute+K3sidZxnTtzr9qZzCd y2t0H3gMIuLivCcfcErymV0rJ+m7w0IfOjkN0uXvGMilnX1lSSb5DzIEKkY7tGWafRW7 WHVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=jUOg+2Nyz8xk8IkGr8sGBz+RjV45R7mnFHWb4EpR7M0=; b=uvxa3FvGFtICZ1NZmuBo5YWQjEFuJTGtaMoqR+FZpNWx2GsgLJziUxLUe27W+SP6+Z KB8SXCPJbsg1zQdZohqezc0ghGZG093oJn4EhfV/VjXHPoWTO0+3KgNyA6z1D3UfC4mz CFqRUbRX8qHj+wua9AsLd1vDJv6asm6VqSwmSxv+4Az1QSPoCwrY/CpHURoadiW/hHNe T9lD4YFmjBqEjNNECh5DleMgDCelHNNxL447OU6VikjhSU4aP7OBK2gfV52LTit7yfZc a8qFWy20GTaQ7X5D7F6ekFOfXqFLPInX+/I9jOMVsX2EQa3hsCFrN3jfcrYj35+cY+qS HO7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b129-v6si18525203pfa.12.2018.09.18.02.39.40; Tue, 18 Sep 2018 02:39:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729891AbeIRPKQ (ORCPT + 99 others); Tue, 18 Sep 2018 11:10:16 -0400 Received: from mga01.intel.com ([192.55.52.88]:59400 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729812AbeIRPKP (ORCPT ); Tue, 18 Sep 2018 11:10:15 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2018 02:38:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,389,1531810800"; d="scan'208";a="71724193" Received: from twinkler-lnx.jer.intel.com ([10.12.91.48]) by fmsmga008.fm.intel.com with ESMTP; 18 Sep 2018 02:38:26 -0700 From: Tomas Winkler To: Jarkko Sakkinen , Jason Gunthorpe Cc: Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Tomas Winkler Subject: [PATCH v3 14/20] tpm: tpm-interface.c drop unused macros Date: Tue, 18 Sep 2018 12:34:53 +0300 Message-Id: <20180918093459.19165-15-tomas.winkler@intel.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180918093459.19165-1-tomas.winkler@intel.com> References: <20180918093459.19165-1-tomas.winkler@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code movement left some macros unused. Signed-off-by: Tomas Winkler --- V3: new in the series drivers/char/tpm/tpm-interface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/char/tpm/tpm-interface.c b/drivers/char/tpm/tpm-interface.c index a8f8e0bcb434..358ef5bd601e 100644 --- a/drivers/char/tpm/tpm-interface.c +++ b/drivers/char/tpm/tpm-interface.c @@ -33,10 +33,6 @@ #include "tpm.h" -#define TSC_MAX_ORDINAL 12 -#define TPM_PROTECTED_COMMAND 0x00 -#define TPM_CONNECTION_COMMAND 0x40 - /* * Bug workaround - some TPM's don't flush the most * recently changed pcr on suspend, so force the flush -- 2.14.4