Eliminate target_ops::to_xclose
[deliverable/binutils-gdb.git] / gdb / target.c
index e8d4ae7ea8e906a55a112001dbca8cb296e42345..2ff028cfa862094ca8f13a98c6692ee57049852a 100644 (file)
@@ -3416,9 +3416,7 @@ target_close (struct target_ops *targ)
 
   fileio_handles_invalidate_target (targ);
 
-  if (targ->to_xclose != NULL)
-    targ->to_xclose (targ);
-  else if (targ->to_close != NULL)
+  if (targ->to_close != NULL)
     targ->to_close (targ);
 
   if (targetdebug)
This page took 0.023656 seconds and 4 git commands to generate.