diff options
| author | Liu, Zhiguang <Zhiguang.Liu@intel.com> | 2022-05-12 13:54:57 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-05-13 04:47:11 +0300 |
| commit | d0efa681b6adab459acf762290397c0d4a26ed2a (patch) | |
| tree | a643f867e73b9b891e557602d9846a7a6d2b2713 /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c | |
| parent | 17702186b56209842e002235c29ffec5ed69745a (diff) | |
| download | edk2-d0efa681b6adab459acf762290397c0d4a26ed2a.tar.xz | |
UefiPayloadPkg: Simplify code logic
A little overdesign about VisitAllPciInstances function, since there are
two call back functions. Simplify the code logic by combining the two call
back functions, and unused parameters.
Change the PROTOCOL_INSTANCE_CALLBACK to SIMPLE_PROTOCOL_INSTANCE_CALLBACK
because the former is also defined in OvmfPkg. Rename it to avoid confusion.
Reviewed-by: Guo Dong <guo.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Maurice Ma <maurice.ma@intel.com>
Cc: Benjamin You <benjamin.you@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.c')
0 files changed, 0 insertions, 0 deletions
