ShellPkg/UefiShellDriver1CommandsLib: Remove unnecessary EFIAPI

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Ruiyu Ni <Ruiyu.ni@intel.com>
This commit is contained in:
Chen A Chen 2016-09-29 14:42:39 +08:00 committed by Ruiyu Ni
parent c4e74e9b81
commit 4640a5df41
11 changed files with 0 additions and 30 deletions

View File

@ -113,7 +113,6 @@ ShellConnectPciRootBridge (
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
ConnectControllers (
IN CONST EFI_HANDLE ControllerHandle OPTIONAL,
IN CONST EFI_HANDLE DriverHandle OPTIONAL,
@ -194,7 +193,6 @@ ConnectControllers (
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
ShellConnectFromDevPaths (
IN CONST CHAR16 *Key
)
@ -353,7 +351,6 @@ ShellConnectFromDevPaths (
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
ConvertAndConnectControllers (
IN EFI_HANDLE *Handle1 OPTIONAL,
IN EFI_HANDLE *Handle2 OPTIONAL,

View File

@ -34,7 +34,6 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
@retval SHELL_SUCCESS The operation was successful.
**/
SHELL_STATUS
EFIAPI
DoDevTreeForHandle(
IN CONST EFI_HANDLE TheHandle,
IN CONST CHAR8 *Lang OPTIONAL,

View File

@ -42,7 +42,6 @@
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
EFIAPI
GetDeviceHandleInfo (
IN EFI_HANDLE TheHandle,
IN OUT CHAR16 *Type,

View File

@ -53,7 +53,6 @@ STATIC CONST EFI_GUID *UefiDriverModelProtocolsGuidArray[] = {
@retval EFI_SUCCESS The name was found.
**/
EFI_STATUS
EFIAPI
GetDriverName (
IN EFI_HANDLE TheHandle,
IN CONST CHAR8 *Language,
@ -107,7 +106,6 @@ GetDriverName (
@retval FALSE The guid does not represent a driver model protocol.
**/
BOOLEAN
EFIAPI
IsDriverProt (
IN CONST EFI_GUID *Guid
)
@ -140,7 +138,6 @@ IsDriverProt (
@retval SHELL_INVALID_PARAMETER ProtocolName was NULL or invalid.
**/
CHAR16*
EFIAPI
GetProtocolInfoString(
IN CONST EFI_HANDLE TheHandle,
IN CONST CHAR8 *Language,
@ -217,7 +214,6 @@ GetProtocolInfoString(
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
GetDriverImageName (
IN EFI_HANDLE TheHandle,
OUT CHAR16 **Name
@ -256,7 +252,6 @@ GetDriverImageName (
@param[in] Language The language to output in.
**/
EFI_STATUS
EFIAPI
DisplayDriverModelHandle (
IN EFI_HANDLE Handle,
IN BOOLEAN BestName,
@ -648,7 +643,6 @@ DisplayDriverModelHandle (
@retval SHELL_INVALID_PARAMETER ProtocolName was NULL or invalid.
**/
SHELL_STATUS
EFIAPI
DoDhByHandle(
IN CONST EFI_HANDLE TheHandle,
IN CONST BOOLEAN Verbose,
@ -729,7 +723,6 @@ DoDhByHandle(
@retval SHELL_INVALID_PARAMETER ProtocolName was NULL or invalid.
**/
SHELL_STATUS
EFIAPI
DoDhForHandleList(
IN CONST EFI_HANDLE *HandleList,
IN CONST BOOLEAN Verbose,
@ -772,7 +765,6 @@ DoDhForHandleList(
@retval SHELL_INVALID_PARAMETER ProtocolName was NULL or invalid.
**/
SHELL_STATUS
EFIAPI
DoDhForAll(
IN CONST BOOLEAN Sfo,
IN CONST BOOLEAN Verbose,
@ -810,7 +802,6 @@ DoDhForAll(
@retval SHELL_INVALID_PARAMETER ProtocolName was NULL or invalid.
**/
SHELL_STATUS
EFIAPI
DoDhByProtocol(
IN CONST CHAR16 *ProtocolName,
IN CONST BOOLEAN Verbose,

View File

@ -28,7 +28,6 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
DisconnectAll(
VOID
)

View File

@ -33,7 +33,6 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
free this memory.
**/
CHAR16*
EFIAPI
GetDevicePathTextForHandle(
IN EFI_HANDLE TheHandle
)
@ -98,7 +97,6 @@ GetDevicePathTextForHandle(
@retval FALSE The driver does not have Driver Configuration.
**/
BOOLEAN
EFIAPI
ReturnDriverConfig(
IN CONST EFI_HANDLE TheHandle
)
@ -120,7 +118,6 @@ ReturnDriverConfig(
@retval FALSE The driver does not have Driver Diagnostics.
**/
BOOLEAN
EFIAPI
ReturnDriverDiag(
IN CONST EFI_HANDLE TheHandle
)
@ -145,7 +142,6 @@ ReturnDriverDiag(
@retval 0xFFFFFFFF An error ocurred.
**/
UINT32
EFIAPI
ReturnDriverVersion(
IN CONST EFI_HANDLE TheHandle
)

View File

@ -30,7 +30,6 @@ STATIC CONST EFI_GUID *CfgGuidList[] = {&gEfiDriverConfigurationProtocolGuid, &g
@retval EFI_NOT_FOUND There was no EFI_HII_HANDLE found for that deviec path.
**/
EFI_STATUS
EFIAPI
FindHiiHandleViaDevPath(
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath1,
OUT EFI_HII_HANDLE *HiiHandle,
@ -124,7 +123,6 @@ FindHiiHandleViaDevPath(
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
ConvertHandleToHiiHandle(
IN CONST EFI_HANDLE Handle,
OUT EFI_HII_HANDLE *HiiHandle,
@ -159,7 +157,6 @@ ConvertHandleToHiiHandle(
@param[in] FileName The filename to rwite the info to.
**/
SHELL_STATUS
EFIAPI
ConfigToFile(
IN CONST EFI_HANDLE Handle,
IN CONST CHAR16 *FileName
@ -269,7 +266,6 @@ ConfigToFile(
@param[in] FileName The filename to read the info from.
**/
SHELL_STATUS
EFIAPI
ConfigFromFile(
IN EFI_HANDLE Handle,
IN CONST CHAR16 *FileName
@ -486,7 +482,6 @@ ConfigFromFile(
@retval SHELL_INVALID_PARAMETER A parameter has a invalid value.
**/
EFI_STATUS
EFIAPI
ShellCmdDriverConfigurationProcessActionRequired (
EFI_HANDLE DriverImageHandle,
EFI_HANDLE ControllerHandle,
@ -554,7 +549,6 @@ ShellCmdDriverConfigurationProcessActionRequired (
@retval SHELL_INVALID_PARAMETER A parameter has a invalid value.
**/
SHELL_STATUS
EFIAPI
PreHiiDrvCfg (
IN CONST CHAR8 *Language,
IN BOOLEAN ForceDefaults,
@ -1062,7 +1056,6 @@ Done:
@retval SHELL_SUCCESS The operation was successful.
**/
SHELL_STATUS
EFIAPI
PrintConfigInfoOnAll(
IN CONST BOOLEAN ChildrenToo,
IN CONST CHAR8 *Language,

View File

@ -42,7 +42,6 @@ typedef enum {
@retval EFI_NOT_FOUND No diagnostic handle could be found.
**/
EFI_STATUS
EFIAPI
DoDiagnostics (
IN CONST DRV_DIAG_TEST_MODE Mode,
IN CONST CHAR8 *Lang,

View File

@ -33,7 +33,6 @@ STATIC CONST CHAR16 StringUnknown[] = L"Unknown ";
@retval EFI_INVALID_PARAMETER TheHandle was NULL.
**/
EFI_STATUS
EFIAPI
TraverseHandleDatabase (
IN CONST EFI_HANDLE TheHandle
)

View File

@ -215,7 +215,6 @@ ShellCommandRunUnload (
@retval EFI_SUCCESS The operation was successful.
**/
EFI_STATUS
EFIAPI
ShellConnectFromDevPaths (
IN CONST CHAR16 *Key
);

View File

@ -24,7 +24,6 @@
@retval EFI_INVALID_PARAMETER The handle did not have LoadedImage
**/
EFI_STATUS
EFIAPI
DumpLoadedImageProtocolInfo (
IN EFI_HANDLE TheHandle
)