If we reach the modified line, resume_target is necessarily nullptr,
because of the check at the beginning of the function.  So we'll
necessarily iterate on all non-exited inferiors (across all targets),
which is what we want.  So just remove the unnecessary argument.
gdb/ChangeLog:
	* infrun.c (check_multi_target_resumption): Remove argument to
	all_non_exited_inferiors.
Change-Id: If95704915dca19599d5f7f4732bbd6ccd20bf6b4
+2021-03-17  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * infrun.c (check_multi_target_resumption): Remove argument to
+       all_non_exited_inferiors.
+
 2021-03-16  Christian Biesinger  <cbiesinger@google.com>
 
        * windows-nat.c (windows_init_thread_list): Add message to
 
         always-non-stop mode.  */
       inferior *first_not_non_stop = nullptr;
 
-      for (inferior *inf : all_non_exited_inferiors (resume_target))
+      for (inferior *inf : all_non_exited_inferiors ())
        {
          switch_to_inferior_no_thread (inf);