summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/tdfx_drv.c
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2008-10-04 14:51:14 +0000
committerrnoland <rnoland@FreeBSD.org>2008-10-04 14:51:14 +0000
commit848f285a655e18bcbd21886fa35dbab3286b54e4 (patch)
tree9bd8c901aa0c07d251f75e92bb72150b4e9ebb74 /sys/dev/drm/tdfx_drv.c
parente416dd643a947a6b0b74b8cd709467a599dc72c8 (diff)
downloadFreeBSD-src-848f285a655e18bcbd21886fa35dbab3286b54e4.zip
FreeBSD-src-848f285a655e18bcbd21886fa35dbab3286b54e4.tar.gz
Don't explicitly bzer driver softc
new-bus already handles this for us. Suggested by jhb@ Approved by: jhb (mentor)
Diffstat (limited to 'sys/dev/drm/tdfx_drv.c')
-rw-r--r--sys/dev/drm/tdfx_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/drm/tdfx_drv.c b/sys/dev/drm/tdfx_drv.c
index 14bde23..729ebf4 100644
--- a/sys/dev/drm/tdfx_drv.c
+++ b/sys/dev/drm/tdfx_drv.c
@@ -72,8 +72,6 @@ tdfx_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