From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: eric.dong@intel.com) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by groups.io with SMTP; Thu, 08 Aug 2019 06:24:45 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2019 06:24:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,361,1559545200"; d="scan'208";a="174845833" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by fmsmga008.fm.intel.com with ESMTP; 08 Aug 2019 06:24:43 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Subject: [Patch 0/2] Clean up useless parmeter. Date: Thu, 8 Aug 2019 21:24:40 +0800 Message-Id: <20190808132442.33936-1-eric.dong@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit After commit 02031cfc920e ("UefiCpuPkg/PiSmmCpuDxeSmm: Remove debug message.", 2019-08-06), RegisterCpuFeaturesLib and PiSmmCpuDxeSmm are each left with a useless spinlock called "ConsoleLogLock". This patch serial remove this useless parameter. Eric Dong (2): UefiCpuPkg/RegisterCpuFeaturesLib: Clean up useless parameter. UefiCpuPkg/PiSmmCpuDxeSmm: Clean up useless parameter. UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h | 1 - .../Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c | 1 - UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 2 -- 3 files changed, 4 deletions(-) -- 2.21.0.windows.1