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. @retval EFI_SUCCESS The operation was successful.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
ConnectControllers ( ConnectControllers (
IN CONST EFI_HANDLE ControllerHandle OPTIONAL, IN CONST EFI_HANDLE ControllerHandle OPTIONAL,
IN CONST EFI_HANDLE DriverHandle OPTIONAL, IN CONST EFI_HANDLE DriverHandle OPTIONAL,
@ -194,7 +193,6 @@ ConnectControllers (
@retval EFI_SUCCESS The operation was successful. @retval EFI_SUCCESS The operation was successful.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
ShellConnectFromDevPaths ( ShellConnectFromDevPaths (
IN CONST CHAR16 *Key IN CONST CHAR16 *Key
) )
@ -353,7 +351,6 @@ ShellConnectFromDevPaths (
@retval EFI_SUCCESS The operation was successful. @retval EFI_SUCCESS The operation was successful.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
ConvertAndConnectControllers ( ConvertAndConnectControllers (
IN EFI_HANDLE *Handle1 OPTIONAL, IN EFI_HANDLE *Handle1 OPTIONAL,
IN EFI_HANDLE *Handle2 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. @retval SHELL_SUCCESS The operation was successful.
**/ **/
SHELL_STATUS SHELL_STATUS
EFIAPI
DoDevTreeForHandle( DoDevTreeForHandle(
IN CONST EFI_HANDLE TheHandle, IN CONST EFI_HANDLE TheHandle,
IN CONST CHAR8 *Lang OPTIONAL, IN CONST CHAR8 *Lang OPTIONAL,

View File

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

View File

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

View File

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

View File

@ -33,7 +33,6 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
free this memory. free this memory.
**/ **/
CHAR16* CHAR16*
EFIAPI
GetDevicePathTextForHandle( GetDevicePathTextForHandle(
IN EFI_HANDLE TheHandle IN EFI_HANDLE TheHandle
) )
@ -98,7 +97,6 @@ GetDevicePathTextForHandle(
@retval FALSE The driver does not have Driver Configuration. @retval FALSE The driver does not have Driver Configuration.
**/ **/
BOOLEAN BOOLEAN
EFIAPI
ReturnDriverConfig( ReturnDriverConfig(
IN CONST EFI_HANDLE TheHandle IN CONST EFI_HANDLE TheHandle
) )
@ -120,7 +118,6 @@ ReturnDriverConfig(
@retval FALSE The driver does not have Driver Diagnostics. @retval FALSE The driver does not have Driver Diagnostics.
**/ **/
BOOLEAN BOOLEAN
EFIAPI
ReturnDriverDiag( ReturnDriverDiag(
IN CONST EFI_HANDLE TheHandle IN CONST EFI_HANDLE TheHandle
) )
@ -145,7 +142,6 @@ ReturnDriverDiag(
@retval 0xFFFFFFFF An error ocurred. @retval 0xFFFFFFFF An error ocurred.
**/ **/
UINT32 UINT32
EFIAPI
ReturnDriverVersion( ReturnDriverVersion(
IN CONST EFI_HANDLE TheHandle 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. @retval EFI_NOT_FOUND There was no EFI_HII_HANDLE found for that deviec path.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
FindHiiHandleViaDevPath( FindHiiHandleViaDevPath(
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath1, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath1,
OUT EFI_HII_HANDLE *HiiHandle, OUT EFI_HII_HANDLE *HiiHandle,
@ -124,7 +123,6 @@ FindHiiHandleViaDevPath(
@retval EFI_SUCCESS The operation was successful. @retval EFI_SUCCESS The operation was successful.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
ConvertHandleToHiiHandle( ConvertHandleToHiiHandle(
IN CONST EFI_HANDLE Handle, IN CONST EFI_HANDLE Handle,
OUT EFI_HII_HANDLE *HiiHandle, OUT EFI_HII_HANDLE *HiiHandle,
@ -159,7 +157,6 @@ ConvertHandleToHiiHandle(
@param[in] FileName The filename to rwite the info to. @param[in] FileName The filename to rwite the info to.
**/ **/
SHELL_STATUS SHELL_STATUS
EFIAPI
ConfigToFile( ConfigToFile(
IN CONST EFI_HANDLE Handle, IN CONST EFI_HANDLE Handle,
IN CONST CHAR16 *FileName IN CONST CHAR16 *FileName
@ -269,7 +266,6 @@ ConfigToFile(
@param[in] FileName The filename to read the info from. @param[in] FileName The filename to read the info from.
**/ **/
SHELL_STATUS SHELL_STATUS
EFIAPI
ConfigFromFile( ConfigFromFile(
IN EFI_HANDLE Handle, IN EFI_HANDLE Handle,
IN CONST CHAR16 *FileName IN CONST CHAR16 *FileName
@ -486,7 +482,6 @@ ConfigFromFile(
@retval SHELL_INVALID_PARAMETER A parameter has a invalid value. @retval SHELL_INVALID_PARAMETER A parameter has a invalid value.
**/ **/
EFI_STATUS EFI_STATUS
EFIAPI
ShellCmdDriverConfigurationProcessActionRequired ( ShellCmdDriverConfigurationProcessActionRequired (
EFI_HANDLE DriverImageHandle, EFI_HANDLE DriverImageHandle,
EFI_HANDLE ControllerHandle, EFI_HANDLE ControllerHandle,
@ -554,7 +549,6 @@ ShellCmdDriverConfigurationProcessActionRequired (
@retval SHELL_INVALID_PARAMETER A parameter has a invalid value. @retval SHELL_INVALID_PARAMETER A parameter has a invalid value.
**/ **/
SHELL_STATUS SHELL_STATUS
EFIAPI
PreHiiDrvCfg ( PreHiiDrvCfg (
IN CONST CHAR8 *Language, IN CONST CHAR8 *Language,
IN BOOLEAN ForceDefaults, IN BOOLEAN ForceDefaults,
@ -1062,7 +1056,6 @@ Done:
@retval SHELL_SUCCESS The operation was successful. @retval SHELL_SUCCESS The operation was successful.
**/ **/
SHELL_STATUS SHELL_STATUS
EFIAPI
PrintConfigInfoOnAll( PrintConfigInfoOnAll(
IN CONST BOOLEAN ChildrenToo, IN CONST BOOLEAN ChildrenToo,
IN CONST CHAR8 *Language, IN CONST CHAR8 *Language,

View File

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

View File

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

View File

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

View File

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