QuarkPlatformPkg: fix ASSERT_EFI_ERROR() typos
A number of code locations use ASSERT_EFI_ERROR (BooleanExpression) instead of ASSERT (BooleanExpression) Fix them. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Kelly Steele <kelly.steele@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
@@ -174,7 +174,7 @@ PlatformFlashLockConfig (
|
||||
//
|
||||
|
||||
SpiProtocol = LocateSpiProtocol (NULL); // This routine will not be called in SMM.
|
||||
ASSERT_EFI_ERROR (SpiProtocol != NULL);
|
||||
ASSERT (SpiProtocol != NULL);
|
||||
if (SpiProtocol != NULL) {
|
||||
Status = SpiProtocol->Lock (SpiProtocol);
|
||||
|
||||
|
Reference in New Issue
Block a user