From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web12.4856.1578323599021928704 for ; Mon, 06 Jan 2020 07:13:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=lCxLeALc; spf=pass (domain: linaro.org, ip: 209.85.128.66, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f66.google.com with SMTP id p17so15630981wma.1 for ; Mon, 06 Jan 2020 07:13:18 -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=n+y094QiEXZIB7XZnJm1LD0Jz2BE93vVDFFwbmsqxZg=; b=lCxLeALcPHG1pAYuitVworUHbqIJtTFyHLKqO0RO3xygWntnlYb1T8vMJIOk6WilmE 4c3twCkBRVVBUSYa/x9JPd4A7J8cpLajpUk/+39Mjn8GX5Oyj/Ke9bcjX6KvXZA2PcYJ KrqxCPLGy3pkG+BiyBLzlhgyYeX1ZfUIYuBds9fIN7IRfzHEenTIcXjln8jC9Nrf+0/K /LJIkOAU8+ldH/xZLlceG8j0ag9EdFkWch87nUP1/VpvpQpSBxFomVdRKjRNzIlzGqj3 UUMKooO/GJNQ4PjiT1STIP4azoN4d8eZh9UAAMtYlv29SBw7C5MDKFD3MvLpiCOr7LzO +Ikw== 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=n+y094QiEXZIB7XZnJm1LD0Jz2BE93vVDFFwbmsqxZg=; b=DeMN020n5Z4+I10qDBp56vgOw50EJrB1yBTHwRXFdqJhAWHA24afjspRtKYTkpb2rQ jrlhVUtTl/uzrVdqyoqe+Q8C2bsy1Sd6IR5Pnwg6mD4fWQhRbPYSxVXN55Vk1iyizwRL LYRWZCtLjDnMB7NiNoAYbDa1lmd8yd3z3FajexsgpB8078x1y8LU3AtiLNtFEU8uF+Uq lzmE1E8DqZqefax+D/46sxzXW9C/fT8NhxvU4/eLGOlWr2SVonllmL89qsOGObsS6qwm FJu5WVIYGUYar3NOe1fXNyb0CsmUPnbohx6Qf3jS0s7f6gfMppHqvNHZnMDgG+GSqOD8 m/8A== X-Gm-Message-State: APjAAAW2gS9wnSy4b6kaDGtPH1x0+4e4bQnW6yRhixQkEhZwXhDz5z6V IhtQ5B2SSnTgHZCOx2DRgdO7Y7bLgc+Bnw== X-Google-Smtp-Source: APXvYqyRLNNtQB+z/5HNUOhYeS4h8VxOZB9z8g756ueCSlW5SQNHeuXkMz+pQ9n1zR3YAEFEcuKdoQ== X-Received: by 2002:a7b:cf12:: with SMTP id l18mr37295632wmg.66.1578323597464; Mon, 06 Jan 2020 07:13:17 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:16 -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 4/5] OvmfPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:09 +0100 Message-Id: <20200106151310.12322-5-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 --- OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c index 98dd80e33c05..2f2e1293a3ef 100644 --- a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -101,24 +101,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 - ) -{ - AcpiPmControl (1); - 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