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 <[email protected]>
---
 MdeModulePkg/Library/FileExplorerLib/FileExplorer.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c 
b/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c
index 65e4785..b55c484 100644
--- a/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c
+++ b/MdeModulePkg/Library/FileExplorerLib/FileExplorer.c
@@ -182,12 +182,10 @@ LibCallback (
     // Do nothing for other UEFI Action. Only do call back when data is 
changed.
     //
     return EFI_UNSUPPORTED;
   }
 
-  *ActionRequest = EFI_BROWSER_ACTION_REQUEST_NONE;
-
   if (Action == EFI_BROWSER_ACTION_CHANGED) {
     if ((Value == NULL) || (ActionRequest == NULL)) {
       return EFI_INVALID_PARAMETER;
     }
     
-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to