Issue on the PxeBcDhcp4CallBack() functions of UEFIPXEBC Driver. In this function allowed events are Dhcp4RcvdOffer, Dhcp4SelectOffer, Dhcp4SendDiscover, Dhcp4RcvdAck. If any other event comes as input it will exit in beginning itself.
Later below switch case handling the default case which is not reachable. I assume this code is a not reachable code and can be removed Signed-off-by: Sivaraman <sivaram...@ami.com> --- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c index fb63cf61a9..c0d8211ea0 100644 --- a/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c +++ b/NetworkPkg/UefiPxeBcDxe/PxeBcDhcp4.c @@ -1331,8 +1331,6 @@ PxeBcDhcp4CallBack ( } break; - default: - break; } return Status; -- 2.28.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#76788): https://edk2.groups.io/g/devel/message/76788 Mute This Topic: https://groups.io/mt/83671978/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-