Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 19 01:56:16 UTC 2021

Modified Files:
        src/sys/external/bsd/drm2/dist/include/drm: drmP.h

Log Message:
Remove unused function (local diff)

Author: Maya Rashish <m...@netbsd.org>


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/external/bsd/drm2/dist/include/drm/drmP.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/external/bsd/drm2/dist/include/drm/drmP.h
diff -u src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.50 src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.51
--- src/sys/external/bsd/drm2/dist/include/drm/drmP.h:1.50	Sun Dec 19 01:56:08 2021
+++ src/sys/external/bsd/drm2/dist/include/drm/drmP.h	Sun Dec 19 01:56:16 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: drmP.h,v 1.50 2021/12/19 01:56:08 riastradh Exp $	*/
+/*	$NetBSD: drmP.h,v 1.51 2021/12/19 01:56:16 riastradh Exp $	*/
 
 /*
  * Internal Header for the Direct Rendering Manager
@@ -641,12 +641,6 @@ static __inline__ int drm_core_check_fea
 	return ((dev->driver->driver_features & feature) ? 1 : 0);
 }
 
-static inline void drm_device_set_unplugged(struct drm_device *dev)
-{
-	smp_wmb();
-	atomic_set(&dev->unplugged, 1);
-}
-
 static inline int drm_device_is_unplugged(struct drm_device *dev)
 {
 	int ret = atomic_read(&dev->unplugged);

Reply via email to