Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/scheduler drm: Omit needless ...
details: https://anonhg.NetBSD.org/src/rev/47900cf685a9
branches: trunk
changeset: 1029010:47900cf685a9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 12:42:40 2021 +0000
description:
drm: Omit needless local brace diff.
diffstat:
sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 63085273cc07 -r 47900cf685a9 sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c
--- a/sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c Sun Dec 19 12:42:32 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/scheduler/sched_main.c Sun Dec 19 12:42:40 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sched_main.c,v 1.9 2021/12/19 12:42:32 riastradh Exp $ */
+/* $NetBSD: sched_main.c,v 1.10 2021/12/19 12:42:40 riastradh Exp $ */
/*
* Copyright 2015 Advanced Micro Devices, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sched_main.c,v 1.9 2021/12/19 12:42:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sched_main.c,v 1.10 2021/12/19 12:42:40 riastradh Exp $");
#include <linux/kthread.h>
#include <linux/wait.h>
@@ -877,9 +877,8 @@
*/
void drm_sched_fini(struct drm_gpu_scheduler *sched)
{
- if (sched->thread) {
+ if (sched->thread)
kthread_stop(sched->thread);
- }
sched->ready = false;
Home |
Main Index |
Thread Index |
Old Index