diff --git a/src/apply_low.h b/src/apply_low.h
index 3bb96d5f8330b7308edf7db1c5b6e06a39160bf0..7cba077648bef660e435659d2adcafe791c708de 100644
--- a/src/apply_low.h
+++ b/src/apply_low.h
@@ -226,10 +226,6 @@
 		      "Calling undefined function.\n");
       }
       
-#ifdef PROFILING
-      new_frame->self_time_base=function->total_time;
-#endif
-
       switch(function->identifier_flags & (IDENTIFIER_TYPE_MASK|IDENTIFIER_ALIAS))
       {       
       case IDENTIFIER_C_FUNCTION:
diff --git a/src/interpret.h b/src/interpret.h
index 8b7d32d17b5af02b15b4f41bb77add7dacc508d2..9c9bbf3de0c1c8215053ecd22f10b167fad03df2 100644
--- a/src/interpret.h
+++ b/src/interpret.h
@@ -96,7 +96,6 @@ struct pike_frame
 #if defined(PROFILING)
   cpu_time_t children_base;	/** Accounted time when the frame started. */
   cpu_time_t start_time;	/** Adjusted time when thr frame started. */
-  cpu_time_t self_time_base;	/* ??? */
 #endif
 };
 
@@ -626,9 +625,7 @@ PMOD_EXPORT extern const char msg_pop_neg[];
 		  });							\
       Pike_interpreter.accounted_time += self_time;			\
       /* FIXME: Can context->prog be NULL? */				\
-      function = _fp_->context->prog->identifiers + _fp_->ident;		\
-      /* function->total_time =						\
-	 Pike_fp->self_time_base + time_passed; */			\
+      function = _fp_->context->prog->identifiers + _fp_->ident;	\
       function->total_time += time_passed;				\
       function->self_time += self_time;					\
     });									\