From: Ruiyu Ni Date: Fri, 29 Nov 2013 02:49:30 +0000 (+0000) Subject: Remove the RemoteEntryList() because the Task isn't added to the linked list upon... X-Git-Tag: edk2-stable201903~7400^2~15 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=bd10d0712fe2c644c00af6e3d2d968587ea0c400 Remove the RemoteEntryList() because the Task isn't added to the linked list upon failure. Signed-off-by: Ruiyu Ni Reviewed-by: Feng Tian (based on FatPkg commit b9bcd0416e5f2da80fc386336228d61a865044aa) [jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD] Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen Acked-by: Mark Doran Acked-by: Laszlo Ersek --- diff --git a/FatPkg/EnhancedFatDxe/Misc.c b/FatPkg/EnhancedFatDxe/Misc.c index 5ee72f86b1..f91759c775 100644 --- a/FatPkg/EnhancedFatDxe/Misc.c +++ b/FatPkg/EnhancedFatDxe/Misc.c @@ -80,7 +80,6 @@ Arguments: Subtask = CR (Link, FAT_SUBTASK, Link, FAT_SUBTASK_SIGNATURE); Link = FatDestroySubtask (Subtask); } - RemoveEntryList (&Task->Link); FreePool (Task); }