Skip to content

Commit

Permalink
MsWheaPkg/MsWheaEarlyStorageLib: Remove unused static function
Browse files Browse the repository at this point in the history
Removes `MsWheaCMOSStoreClearAll()` which is scoped to the file and
not used. Improves code readability and maintenance.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Dec 12, 2023
1 parent e20fe27 commit 430d371
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions MsWheaPkg/Library/MsWheaEarlyStorageLib/MsWheaEarlyStorageLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,20 +176,6 @@ __MsWheaCMOSRawClear (

/**
This routine clears all bytes in Data region
**/
STATIC
VOID
MsWheaCMOSStoreClearAll (
VOID
)
{
__MsWheaCMOSRawClear (MsWheaEarlyStorageGetMaxSize (), MS_WHEA_EARLY_STORAGE_OFFSET);
}

/**
This routine returns the maximum number of bytes that can be stored in the early storage area.
@retval Count The maximum number of bytes that can be stored in the MS WHEA store.
Expand Down

0 comments on commit 430d371

Please sign in to comment.