Remove commented-out code in jv-lang.c
[binutils-gdb.git] / gdb / infrun.c
index 025ba0ae1a08773afb025f86fed92c0f35588f14..9f4c298ebee870cfe24182b1565622aa03161b91 100644 (file)
@@ -1420,19 +1420,6 @@ set_schedlock_func (char *args, int from_tty, struct cmd_list_element *c)
     }
 }
 
-/* If SCHEDULER_MODE is on, then set it back to off.  Warn the user
-   about the change.  */
-void
-reset_schedlock (void)
-{
-  if (scheduler_mode == schedlock_on)
-    {
-      warning ("Resetting scheduler-lock mode to 'off'");
-      scheduler_mode = schedlock_off;
-    }
-}
-
 /* True if execution commands resume all threads of all processes by
    default; otherwise, resume only threads of the current inferior
    process.  */