summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/FileExplorerLib
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2015-12-16 11:54:50 +0000
committerydong10 <ydong10@Edk2>2015-12-16 11:54:50 +0000
commit850ba6a953f4a3502f98de872d86a23892b9dfec (patch)
treee4adbc0f42e56a1955b7e9cd4491b80edb14b0a4 /MdeModulePkg/Library/FileExplorerLib
parentbd69e72c8abee5a155d0281b392459dfa7837e8a (diff)
downloadedk2-850ba6a953f4a3502f98de872d86a23892b9dfec.tar.gz
edk2-850ba6a953f4a3502f98de872d86a23892b9dfec.tar.bz2
edk2-850ba6a953f4a3502f98de872d86a23892b9dfec.zip
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 <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19302 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/FileExplorerLib')
-rw-r--r--MdeModulePkg/Library/FileExplorerLib/FileExplorer.c2
1 files changed, 0 insertions, 2 deletions
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;