diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-24 03:37:57 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-11-24 03:37:57 +0000 |
commit | 960491229bf3a7472733aa63728e937ffb4f73a7 (patch) | |
tree | 903dd814899b61230b40c8dd3280815d1c5201c1 /sys/dev | |
parent | f4801030b750c5eb2171bbd132aca7bdfa090761 (diff) |
we're a real device now and we don't on-demand allocate our softc. Do
not zero it during the cleanup ioctl.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/radeon_cp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon_cp.c b/sys/dev/pci/drm/radeon_cp.c index c784796f0af..b22a2ad9336 100644 --- a/sys/dev/pci/drm/radeon_cp.c +++ b/sys/dev/pci/drm/radeon_cp.c @@ -1268,8 +1268,6 @@ static int radeon_do_cleanup_cp(struct drm_device * dev) dev_priv->gart_info.addr = 0; } } - /* only clear to the start of flags */ - memset(dev_priv, 0, offsetof(drm_radeon_private_t, flags)); return 0; } |