From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mx.groups.io with SMTP id smtpd.web10.4804.1578323597916039577 for ; Mon, 06 Jan 2020 07:13:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=C3VXb7jq; spf=pass (domain: linaro.org, ip: 209.85.221.67, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wr1-f67.google.com with SMTP id d16so49992217wre.10 for ; Mon, 06 Jan 2020 07:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KW/n7c8KpzJ+1Kn49yHeS6fZ7vF9czva9NJmRg51vKU=; b=C3VXb7jq+/KBqMB1CH9wFd7CUON48YMz60H93UDwNrVG365I5/A/7meAucBilekzlc tHu1sykEq8iSpu4Mt4DlYbfyjbARDBf18FAPUKIFE8CM1DEaNoSdFcaVKsJPQIfzzhZb 5eCwF8S1xXiTdxzKqgtBAJ1OfFT6Q9R+2q48c32FdXstm8umwO+dh8JNc6Xuu2oGAPDh Q28wd5n7Sat+8qp9UoHzE8g5FOYT4YYg3/vCSGZySk6v0YcdOvZXqZz3KtnaffsDe7op t/MhKAO16vWEi8Lp4rwZnr1pbFN1Ji48R/VNG6NSuvT5jBUfSgkVo1XMPCzVjrhRtErN FXYw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=KW/n7c8KpzJ+1Kn49yHeS6fZ7vF9czva9NJmRg51vKU=; b=Z4GCb95Q0AEzESkPj5TvJH4+fBvDNLflhh/qKH3VOyijMuptWdjIaDbq28AtofQmOL VuPWo2vWbTKrKoc9BaXedEJHzzNaJZpN4I6bWhqLnQi+xxrIgydnrjqPil52Fz8y42wS 5vP3QtWRM45XKRZ0kZnmZl2d+YAra31VU482RBv0+e0IuB22LpYWYwyLucszRrDeIoU+ KahXceL+X2lvAIpuG0wYTbJoXXUr2VvkjnX8jOt4hF6RU9U+zr9An40xOPcqvcxIGNHD qJhOuWA0KoPNav6Gz4D+Nj9aeLXxprxIsunFKt4r1BXt7pYwVV19cI5lhKtfRQ85W0no Mcow== X-Gm-Message-State: APjAAAVfGbqlFDDNAQqJkQZzZ1EULZ5kgRX+hEv6mFcm3TcTRnxasak2 b51y+2LmeM70kTFovzPb8Cb79KTL4myWKw== X-Google-Smtp-Source: APXvYqwcx9PkH2inDkt17Etwwuu+iL+atiYJomw91fGT7DFJc5eSrbPUrD8nhgSs8+xv2XZuRhaGow== X-Received: by 2002:a5d:44ca:: with SMTP id z10mr110511153wrr.266.1578323596375; Mon, 06 Jan 2020 07:13:16 -0800 (PST) Return-Path: Received: from localhost.localdomain ([2a01:cb1d:112:6f00:6051:f896:58f1:b2e4]) by smtp.gmail.com with ESMTPSA id o16sm24484137wmc.18.2020.01.06.07.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:15 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: maurice.ma@intel.com, guo.dong@intel.com, benjamin.you@intel.com, ray.ni@intel.com, liming.gao@intel.com, hao.a.wu@intel.com, lersek@redhat.com, Ard Biesheuvel Subject: [PATCH 3/5] UefiPayloadPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:08 +0100 Message-Id: <20200106151310.12322-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200106151310.12322-1-ard.biesheuvel@linaro.org> References: <20200106151310.12322-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit EnterS3WithImmediateWake () no longer has any callers, so remove it from ResetSystemLib. Signed-off-by: Ard Biesheuvel --- UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c b/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c index 3fe3c805afe0..2e4b7fe59261 100644 --- a/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/UefiPayloadPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -131,24 +131,6 @@ ResetShutdown ( ASSERT (FALSE); } -/** - Calling this function causes the system to enter a power state for capsule - update. - - Reset update should not return, if it returns, it means the system does - not support capsule update. - -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - AcpiPmControl (5); - ASSERT (FALSE); -} - /** This function causes a systemwide reset. The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string passed -- 2.20.1