From: Eric Dong Date: Wed, 16 Dec 2015 11:54:50 +0000 (+0000) Subject: FileExplorerLib: Remove the useless code. X-Git-Tag: edk2-stable201903~8245 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=850ba6a953f4a3502f98de872d86a23892b9dfec FileExplorerLib: Remove the useless code. The caller has initial the input parameter before call this function, So this code is useless. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19302 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c b/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c index c64a94bebe..bcf3ec97f6 100644 --- a/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c +++ b/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c @@ -184,8 +184,6 @@ LibCallback ( return EFI_UNSUPPORTED; } - *ActionRequest = EFI_BROWSER_ACTION_REQUEST_NONE; - if (Action == EFI_BROWSER_ACTION_CHANGED) { if ((Value == NULL) || (ActionRequest == NULL)) { return EFI_INVALID_PARAMETER;