summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/r128_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/drm/r128_drv.c')
-rw-r--r--sys/dev/drm/r128_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/drm/r128_drv.c b/sys/dev/drm/r128_drv.c
index ad4da43..bb353d4 100644
--- a/sys/dev/drm/r128_drv.c
+++ b/sys/dev/drm/r128_drv.c
@@ -85,8 +85,6 @@ r128_attach(device_t nbdev)
{
struct drm_device *dev = device_get_softc(nbdev);
- bzero(dev, sizeof(struct drm_device));
-
dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM,
M_WAITOK | M_ZERO);
OpenPOWER on IntegriCloud