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/include/drm Remove unused functio...



details:   https://anonhg.NetBSD.org/src/rev/3f6ecc02267c
branches:  trunk
changeset: 1028127:3f6ecc02267c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:56:16 2021 +0000

description:
Remove unused function (local diff)


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (22 lines):

diff -r 5ffe8304c46d -r 3f6ecc02267c sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:56:08 2021 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Sun Dec 19 01:56:16 2021 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index