summaryrefslogtreecommitdiffstats
path: root/FatPkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2013-11-29 02:49:30 +0000
committerJordan Justen <jordan.l.justen@intel.com>2016-04-06 23:22:43 -0700
commitbd10d0712fe2c644c00af6e3d2d968587ea0c400 (patch)
tree1841df8c7eb789b9be257fd947aeb894dd793067 /FatPkg
parent9e710bc95e6ac6e8fe2c7814a85e63029e01a4d3 (diff)
downloadedk2-bd10d0712fe2c644c00af6e3d2d968587ea0c400.tar.gz
edk2-bd10d0712fe2c644c00af6e3d2d968587ea0c400.tar.bz2
edk2-bd10d0712fe2c644c00af6e3d2d968587ea0c400.zip
Remove the RemoteEntryList() because the Task isn't added to the linked list upon failure.
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> (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 <jordan.l.justen@intel.com> Acked-by: Mark Doran <mark.doran@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'FatPkg')
-rw-r--r--FatPkg/EnhancedFatDxe/Misc.c1
1 files changed, 0 insertions, 1 deletions
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);
}