From 848f285a655e18bcbd21886fa35dbab3286b54e4 Mon Sep 17 00:00:00 2001 From: rnoland Date: Sat, 4 Oct 2008 14:51:14 +0000 Subject: Don't explicitly bzer driver softc new-bus already handles this for us. Suggested by jhb@ Approved by: jhb (mentor) --- sys/dev/drm/mach64_drv.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/drm/mach64_drv.c') diff --git a/sys/dev/drm/mach64_drv.c b/sys/dev/drm/mach64_drv.c index b312f48..7ab9683 100644 --- a/sys/dev/drm/mach64_drv.c +++ b/sys/dev/drm/mach64_drv.c @@ -86,8 +86,6 @@ mach64_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); -- cgit v1.1