aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/i915_drv.c
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2008-10-03 14:11:20 -0400
committerRobert Noland <rnoland@2hip.net>2008-10-03 14:11:20 -0400
commit60cf3a4db4ab8ee81aca104624e89caf5587419b (patch)
tree1de36f0a282a4cbf3ea5a4b25be42442b7a70d35 /bsd-core/i915_drv.c
parent9c0ce38df3d9026785155d06fc62bdd7acaf8bf0 (diff)
[FreeBSD] Don't explicitly bzero driver softc.
This is already handled for us. Suggested by John Baldwin
Diffstat (limited to 'bsd-core/i915_drv.c')
-rw-r--r--bsd-core/i915_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bsd-core/i915_drv.c b/bsd-core/i915_drv.c
index b2658f05..87703210 100644
--- a/bsd-core/i915_drv.c
+++ b/bsd-core/i915_drv.c
@@ -109,8 +109,6 @@ i915_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);