Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm/dist/shared-core annotate some unused v...



details:   https://anonhg.NetBSD.org/src/rev/b4f38487e7c6
branches:  trunk
changeset: 790581:b4f38487e7c6
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 17 21:14:05 2013 +0000

description:
annotate some unused variables the authors want to keep

diffstat:

 sys/external/bsd/drm/dist/shared-core/savage_bci.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 2f734a083ec5 -r b4f38487e7c6 sys/external/bsd/drm/dist/shared-core/savage_bci.c
--- a/sys/external/bsd/drm/dist/shared-core/savage_bci.c        Thu Oct 17 21:12:56 2013 +0000
+++ b/sys/external/bsd/drm/dist/shared-core/savage_bci.c        Thu Oct 17 21:14:05 2013 +0000
@@ -631,6 +631,8 @@
                aperture_base = drm_get_resource_start(dev, 2);
                /* Automatic MTRR setup will do the right thing. */
        }
+       __USE(fb_rsrc);
+       __USE(aper_rsrc);
 
        ret = drm_addmap(dev, mmio_base, SAVAGE_MMIO_SIZE, _DRM_REGISTERS,
                         _DRM_READ_ONLY, &dev_priv->mmio);



Home | Main Index | Thread Index | Old Index