summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2008-10-04 14:51:14 +0000
committerRobert Noland <rnoland@FreeBSD.org>2008-10-04 14:51:14 +0000
commit6059e9240818405a22b0a130501def2159caa583 (patch)
tree9bd8c901aa0c07d251f75e92bb72150b4e9ebb74 /sys
parente0b85821736470cfad76c129ae3c4884a0c83a5b (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/drm/i915_drv.c2
-rw-r--r--sys/dev/drm/mach64_drv.c2
-rw-r--r--sys/dev/drm/mga_drv.c2
-rw-r--r--sys/dev/drm/r128_drv.c2
-rw-r--r--sys/dev/drm/radeon_drv.c2
-rw-r--r--sys/dev/drm/savage_drv.c2
-rw-r--r--sys/dev/drm/sis_drv.c2
-rw-r--r--sys/dev/drm/tdfx_drv.c2
8 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/drm/i915_drv.c b/sys/dev/drm/i915_drv.c
index d2795a32db76..ad213e5b0817 100644
--- a/sys/dev/drm/i915_drv.c
+++ b/sys/dev/drm/i915_drv.c
@@ -112,8 +112,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);
diff --git a/sys/dev/drm/mach64_drv.c b/sys/dev/drm/mach64_drv.c
index b312f48fb19c..7ab968394984 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);
diff --git a/sys/dev/drm/mga_drv.c b/sys/dev/drm/mga_drv.c
index f3d9cae13b40..308269ab55b4 100644
--- a/sys/dev/drm/mga_drv.c
+++ b/sys/dev/drm/mga_drv.c
@@ -130,8 +130,6 @@ mga_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);
diff --git a/sys/dev/drm/r128_drv.c b/sys/dev/drm/r128_drv.c
index ad4da4334471..bb353d4f0c5a 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);
diff --git a/sys/dev/drm/radeon_drv.c b/sys/dev/drm/radeon_drv.c
index caddf1e09cc5..cc248b24264c 100644
--- a/sys/dev/drm/radeon_drv.c
+++ b/sys/dev/drm/radeon_drv.c
@@ -90,8 +90,6 @@ radeon_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);
diff --git a/sys/dev/drm/savage_drv.c b/sys/dev/drm/savage_drv.c
index aa0103fc4965..bdd1b49c1212 100644
--- a/sys/dev/drm/savage_drv.c
+++ b/sys/dev/drm/savage_drv.c
@@ -76,8 +76,6 @@ savage_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);
diff --git a/sys/dev/drm/sis_drv.c b/sys/dev/drm/sis_drv.c
index c17557ed69fa..9f854df77b1a 100644
--- a/sys/dev/drm/sis_drv.c
+++ b/sys/dev/drm/sis_drv.c
@@ -70,8 +70,6 @@ sis_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);
diff --git a/sys/dev/drm/tdfx_drv.c b/sys/dev/drm/tdfx_drv.c
index 14bde236428e..729ebf4223af 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);