MdeModulePkg: Use EfiEventEmptyFunction from UefiLib
Use EfiEventEmptyFunction from UefiLib and remove the duplication of event empty function. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=298 Cc: Feng Tian <feng.tian@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
This is an example of how a driver might export data to the HII protocol to be
|
||||
later utilized by the Setup Protocol
|
||||
|
||||
Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -110,22 +110,6 @@ SetArrayData (
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
Add empty function for event process function.
|
||||
|
||||
@param Event The Event need to be process
|
||||
@param Context The context of the event.
|
||||
|
||||
**/
|
||||
VOID
|
||||
EFIAPI
|
||||
DriverSampleInternalEmptyFunction (
|
||||
IN EFI_EVENT Event,
|
||||
IN VOID *Context
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
Notification function for keystrokes.
|
||||
|
||||
@ -1972,7 +1956,7 @@ DriverSampleInit (
|
||||
Status = gBS->CreateEventEx (
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
DriverSampleInternalEmptyFunction,
|
||||
EfiEventEmptyFunction,
|
||||
NULL,
|
||||
&gEfiIfrRefreshIdOpGuid,
|
||||
&mEvent
|
||||
|
Reference in New Issue
Block a user