summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Maslenkin <mike.maslenkin@gmail.com>2023-07-28 16:35:16 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-12-27 00:09:49 +0000
commit9e3de4eee0ab45c2584e7cee931cd1ea598a6c3f (patch)
treec07fd4dd0ea1d46e5d83bca035f8bd7978388227
parent5e2338d3df0c4e837489a9f45419c5c67152a5ad (diff)
downloadedk2-9e3de4eee0ab45c2584e7cee931cd1ea598a6c3f.tar.gz
edk2-9e3de4eee0ab45c2584e7cee931cd1ea598a6c3f.tar.bz2
edk2-9e3de4eee0ab45c2584e7cee931cd1ea598a6c3f.zip
EmulatorPkg: RedfishPlatformHostInterfaceLib: get rid of unused variable
Cc: Nickle Wang <nicklew@nvidia.com> Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com> Reviewed-by: Abner Chang <abner.chang@amd.com>
-rw-r--r--EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c2
1 files changed, 0 insertions, 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;