Jelajahi Sumber

qcacmn: Remove call to qdf_exit_thread()

Since Linux Kernel commit 63706172f332 ("kthreads: rework
kthread_stop()"), made in 2009 in Linux Kernel v2.6.31-rc1, it has not
been necessary for kernel threads to call do_exit(). Since we do not
support kernels earlier than that, remove the call to
qdf_exit_thread(), the abstraction function for do_exit().

See Change-Id I22f27692fa8766df080630b9b0640c259285557c for more
information on why this call is being removed.

Change-Id: I4de812397e8910e5117bc142bf9185c02d2d3ec0
CRs-Fixed: 3300459
Jeff Johnson 2 tahun lalu
induk
melakukan
8b3dca1820
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      scheduler/src/scheduler_core.c

+ 1 - 1
scheduler/src/scheduler_core.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -463,7 +464,6 @@ int scheduler_thread(void *arg)
 	/* If we get here the scheduler thread must exit */
 	sched_debug("Scheduler thread exiting");
 	qdf_event_set(&sch_ctx->sch_shutdown);
-	qdf_exit_thread(QDF_STATUS_SUCCESS);
 
 	return 0;
 }