MdePkg/Include/Protocol: EFI_RESET_NOTIFICATION_PROTOCOL duplicate

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3286

Remove duplicate declaration of structure type
EFI_RESET_NOTIFICATION_PROTOCOL from ResetNotification.h.  The
forward declaration of the top of this file already declared
this type.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael D Kinney 2021-02-02 15:24:47 -08:00 committed by mergify[bot]
parent 32976569af
commit 8c10a2c014
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
EFI Reset Notification Protocol as defined in UEFI 2.7.
This protocol provides services to register for a notification when ResetSystem is called.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@par Revision Reference:
@ -68,10 +68,10 @@ EFI_STATUS
IN EFI_RESET_SYSTEM ResetFunction
);
typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {
struct _EFI_RESET_NOTIFICATION_PROTOCOL {
EFI_REGISTER_RESET_NOTIFY RegisterResetNotify;
EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;
} EFI_RESET_NOTIFICATION_PROTOCOL;
};
extern EFI_GUID gEfiResetNotificationProtocolGuid;