summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c')
-rw-r--r--MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c b/MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
index 7f3b6076ef..ddd139567e 100644
--- a/MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
+++ b/MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
@@ -16,7 +16,6 @@
#include "UefiDevicePathLib.h"
-
/**
Retrieves the device path protocol from a handle.
@@ -33,7 +32,7 @@
EFI_DEVICE_PATH_PROTOCOL *
EFIAPI
DevicePathFromHandle (
- IN EFI_HANDLE Handle
+ IN EFI_HANDLE Handle
)
{
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
@@ -42,10 +41,11 @@ DevicePathFromHandle (
Status = gBS->HandleProtocol (
Handle,
&gEfiDevicePathProtocolGuid,
- (VOID *) &DevicePath
+ (VOID *)&DevicePath
);
if (EFI_ERROR (Status)) {
DevicePath = NULL;
}
+
return DevicePath;
}