summary refs log tree commit diff stats
path: root/bsd-user/bsd-proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-user/bsd-proc.h')
-rw-r--r--bsd-user/bsd-proc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index a1061bffb8..0e1d461c4c 100644
--- a/bsd-user/bsd-proc.h
+++ b/bsd-user/bsd-proc.h
@@ -25,9 +25,6 @@
 /* exit(2) */
 static inline abi_long do_bsd_exit(void *cpu_env, abi_long arg1)
 {
-#ifdef TARGET_GPROF
-    _mcleanup();
-#endif
     gdb_exit(arg1);
     qemu_plugin_user_exit();
     _exit(arg1);