From 9e3de4eee0ab45c2584e7cee931cd1ea598a6c3f Mon Sep 17 00:00:00 2001 From: Mike Maslenkin Date: Fri, 28 Jul 2023 16:35:16 +0300 Subject: [PATCH] EmulatorPkg: RedfishPlatformHostInterfaceLib: get rid of unused variable Cc: Nickle Wang Signed-off-by: Mike Maslenkin Reviewed-by: Abner Chang --- .../RedfishPlatformHostInterfaceLib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c b/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c index 4332caa710..71b3dfc643 100644 --- a/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c +++ b/EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c @@ -42,12 +42,10 @@ GetMacAddressInformation ( OUT EFI_MAC_ADDRESS *MacAddress ) { - MAC_ADDR_DEVICE_PATH *Mac; REST_EX_SERVICE_DEVICE_PATH_DATA *RestExServiceDevicePathData; EFI_DEVICE_PATH_PROTOCOL *RestExServiceDevicePath; MAC_ADDR_DEVICE_PATH *MacAddressDevicePath; - Mac = NULL; RestExServiceDevicePathData = NULL; RestExServiceDevicePath = NULL;