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.web09.4824.1578323600119938521 for ; Mon, 06 Jan 2020 07:13:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=MSsFOb79; 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 m24so15306572wmc.3 for ; Mon, 06 Jan 2020 07:13:19 -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=OG7Yiezn5ic+xDYguAerIVymjZSvBXbVXtq+GWzHg1c=; b=MSsFOb79DeCvzdGuLKz0RrAQhfP9yH7D6S7VDijlsSiFIHS2casEjRKUpPRciqpZJq dNFDSsgIpycR5euzLLNWDKpKtEdUJ6D0RmfuENhjFw3MU23WS0432+zzRqbCvetT1/Fs xzBGhiNS9Ea8jE20bjNBzK/m7cml0CjhU2sAobk1LZUf6k+7+xurqK1ccb7qW1rM2ZBb pDlxNzExGz/EFBTFDIKC1nZWM6wroF7K1u5E7Z7vPNkCsIvL9cnprna2jZebMIW+Guac vpFQKVjI8DHMB9cxbqxU9WnQBZ8kRWK77I4jASuK7rvv3AmPBMzMreS15q33DfSnbs9F N35g== 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=OG7Yiezn5ic+xDYguAerIVymjZSvBXbVXtq+GWzHg1c=; b=r0ipcbPGOJs27rR26fYQ70jYAJYJ19AXBD/bslFEPKCv1gK0Bf3Pju0GNtBQk3ib6i xTXi6xLM0Lnc+VltSkn0hhYH1+zQIifN5U+7v7IIHMZ6j6p0Yl/C9/M3nqqIE1+cBk46 w3MxMqa6BfGSnkUc30HJWCufnfClPBvBFr3hsZzdBVt2UqPnEdAgfGvuUs9Q/2f5TRI8 ZDv6tD/hiee2Qwx5y2IJpudNAnNnEEcPbjcTJqihkX3FZThQSniej3rfZ/mV7UMCqDFV ZIKK6Ww3yuAhPJEaklDBGKbmU/fy08np2ZX2nSgfgsW8NYFNvrsl+LC3cBXkJIrKYmN7 r2gg== X-Gm-Message-State: APjAAAVvSXYt2tWov0IwoycG3MXRvevS1jwxwnyqQ1f3Pa9+Mf+JRi3a 4gLIBs9VGurMEGV0Z4fm3UvZym9SerFOug== X-Google-Smtp-Source: APXvYqwHsZviFgaYBWxXEhzqLcMplTlhYLptINYZAtN1vIbsENWmyazrmajIgY6BpT0WRgUDyPQx2g== X-Received: by 2002:a1c:7406:: with SMTP id p6mr34402524wmc.82.1578323598536; Mon, 06 Jan 2020 07:13:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 07:13:17 -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 5/5] ArmVirtPkg: remove EnterS3WithImmediateWake () from ResetSystemLib Date: Mon, 6 Jan 2020 16:13:10 +0100 Message-Id: <20200106151310.12322-6-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 --- ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c b/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c index fdf49e1d9c7a..9e5b70e2c54c 100644 --- a/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c +++ b/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/ArmVirtPsciResetSystemLib.c @@ -145,20 +145,6 @@ ResetShutdown ( } } -/** - This function causes the system to enter S3 and then wake up immediately. - - If this function returns, it means that the system does not support S3 feature. -**/ -VOID -EFIAPI -EnterS3WithImmediateWake ( - VOID - ) -{ - // not implemented -} - /** 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