--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -35,10 +35,6 @@
     if value:
         return True
 
-set_config('MOZ_GECKO_PROFILER', gecko_profiler_define)
-set_define('MOZ_GECKO_PROFILER', gecko_profiler_define)
-
-
 option('--enable-dmd', env='MOZ_DMD',
        help='Enable Dark Matter Detector (heap profiler). '
             'Also enables jemalloc, replace-malloc and profiling')