Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm In drm_global_releas...



details:   https://anonhg.NetBSD.org/src/rev/87f02c673240
branches:  riastradh-drm2
changeset: 788133:87f02c673240
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:23:34 2013 +0000

description:
In drm_global_release, declare item ignored.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_global.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 94ca4c870156 -r 87f02c673240 sys/external/bsd/drm2/dist/drm/drm_global.c
--- a/sys/external/bsd/drm2/dist/drm/drm_global.c       Wed Jul 24 02:23:21 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_global.c       Wed Jul 24 02:23:34 2013 +0000
@@ -65,6 +65,9 @@
        int i;
        for (i = 0; i < DRM_GLOBAL_NUM; ++i) {
                struct drm_global_item *item = &glob[i];
+#ifdef __NetBSD__
+               (void)item;     /* ignore */
+#endif
                BUG_ON(item->object != NULL);
                BUG_ON(item->refcount != 0);
        }



Home | Main Index | Thread Index | Old Index