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/nouveau comment out unused fu...



details:   https://anonhg.NetBSD.org/src/rev/a790b15858e1
branches:  trunk
changeset: 433882:a790b15858e1
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 08 17:58:52 2018 +0000

description:
comment out unused function (clang)

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 72609d80d9f8 -r a790b15858e1 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c       Mon Oct 08 17:09:31 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c       Mon Oct 08 17:58:52 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_bo.c,v 1.12 2018/08/27 15:22:54 riastradh Exp $        */
+/*     $NetBSD: nouveau_bo.c,v 1.13 2018/10/08 17:58:52 christos Exp $ */
 
 /*
  * Copyright 2007 Dave Airlied
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_bo.c,v 1.12 2018/08/27 15:22:54 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_bo.c,v 1.13 2018/10/08 17:58:52 christos Exp $");
 
 #include <linux/dma-mapping.h>
 #include <linux/swiotlb.h>
@@ -543,6 +543,7 @@
 #  define      iowrite16_native        fake_iowrite16_native
 #  define      iowrite32_native        fake_iowrite32_native
 
+#ifdef notdef
 static inline uint16_t
 ioread16_native(const void __iomem *ptr)
 {
@@ -553,6 +554,7 @@
 
        return v;
 }
+#endif
 
 static inline uint32_t
 ioread32_native(const void __iomem *ptr)



Home | Main Index | Thread Index | Old Index