summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-03-22 00:02:43 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-04-01 23:11:44 +0000
commit4ca4d2b9df27f9c58009d623678ac911c544d36c (patch)
tree8b2ad68c9f4dc612c59a09a0b8606b4896bf2b55 /.github
parent12d3d60f51550a7166f8f3e758866b53b9a88e73 (diff)
downloadedk2-4ca4d2b9df27f9c58009d623678ac911c544d36c.tar.gz
UefiCpuPkg/MtrrLib: use new IS_POW2() macro.
Drop MtrrLibIsPowerOfTwo function, use the new IS_POW2() macro instead. The ASSERT() removed (inside MtrrLibIsPowerOfTwo) is superfluous, another ASSERT() a few lines up in MtrrLibCalculateMtrrs() already guarantees that Length can not be zero at this point. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions