From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web10.4803.1578323596870602415 for ; Mon, 06 Jan 2020 07:13:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=PKf+fBkm; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f65.google.com with SMTP id p17so15646073wmb.0 for ; Mon, 06 Jan 2020 07:13:16 -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=6/J1KlX8ZR1SuXudyikCu6AT/td0pZ72MEW+amzkvSM=; b=PKf+fBkmncZJx3T2kUuII0cbbckhsGyuq7o9zZuWBu1vP4gFxm1lXPu9vBN6wvW3QM Qs4wTJFcJOqgPw3RKQIqO2E8/W1DqFQlwzmGNJaLXuqnsHQdMXM8HyqXHT8IK5Uv7mnI D354v5bhovgih4C9h8UbWnu4Udkrc+6tX4WS7IiGo7l3D+689IyX0arQKYnUjyVPpbt+ 4JiwUWrno4m1vShNlIH6MrPPN8lH1UjLbMRpJOplnN7Mq3bmWcD1E5vovVBA5YY4LoB0 2vZAI8jismlFDE47bEfWXO95Wg5XfnjqnKBxa5T9O1YA4MUh0SCXKgNEQiWPSHB9XZ4q nKkg== 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=6/J1KlX8ZR1SuXudyikCu6AT/td0pZ72MEW+amzkvSM=; b=My1fFsmUl1l3O45YaHFuaXN+//L3YsHSs+LXQxRmt4SFz2eAW0O9LOtxtSPzrv9k54 hT4vwa2L7fGPKBJj+pe7dP/b3t/5wq5Fvd/OoUXhklM4xJ8J5Oz3WPKWcrn72TjY4Xgk hF/XViCdREmT/gQrj8ioJ06cWW/A9vCU2BViTfSw2vX+jCvRmAR5/o9GhlDTTOK2HhF7 +ITwClYGmD9M7S+0YSnmzgYE3jsrCiUns/HjXWG4ttUkVcV2lPzI6pJhmyg1Ji0SWhI7 0HVqSYxwmVzLE7xxco2Wknx3SlTsO5rpz29csqpTAJnF1KNpKcFW7HC8Nbld/hFsRqkB eQvg== X-Gm-Message-State: APjAAAXHs0xIMZ91dCX7wAzgPgCD7sCH2+ttAbrutKDUjMNsi+PmWXr4 jqvbncURa79r5HQtGFR4g6r7iv1gtf+Mbw== X-Google-Smtp-Source: APXvYqxUgsPtVkp+/OAZCc42gzuAGOvl03oAPs9brQI3jsITzdKfDRo+g+E6+YHtAncMhutNYQ3DTw== X-Received: by 2002:a1c:2355:: with SMTP id j82mr35765402wmj.135.1578323595301; Mon, 06 Jan 2020 07:13:15 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:14 -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 2/5] PcAtChipsetPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:07 +0100 Message-Id: <20200106151310.12322-3-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 --- PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c b/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c index 7fe1663c97df..e42c41c48e18 100644 --- a/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/PcAtChipsetPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -65,23 +65,6 @@ ResetShutdown ( } -/** - 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 - ) -{ - 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