diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-09-06 01:32:09 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-09-06 01:32:09 +0000 |
commit | b3e0f5fb6df7bc3ae331ed3e101c3b25d5d5ebff (patch) | |
tree | 071431f644926105f6377a2732b1ac13470c33b0 /sys/dev/pci/drm/mga_dma.c | |
parent | 2f96ad35136fa139ba5033b2fdb3172ec0a37287 (diff) |
Kill the stats data structures and noop some other parts. Nothing in
userland asks for these stats, and we stopped recording anything
interesting a while back.
Diffstat (limited to 'sys/dev/pci/drm/mga_dma.c')
-rw-r--r-- | sys/dev/pci/drm/mga_dma.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/mga_dma.c b/sys/dev/pci/drm/mga_dma.c index dad747c0b95..52145252687 100644 --- a/sys/dev/pci/drm/mga_dma.c +++ b/sys/dev/pci/drm/mga_dma.c @@ -407,11 +407,6 @@ int mga_driver_load(struct drm_device *dev, unsigned long flags) dev_priv->mmio_base = drm_get_resource_start(dev, 1); dev_priv->mmio_size = drm_get_resource_len(dev, 1); - dev->counters += 3; - dev->types[6] = _DRM_STAT_IRQ; - dev->types[7] = _DRM_STAT_PRIMARY; - dev->types[8] = _DRM_STAT_SECONDARY; - return 0; } |