summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLucas Stach <[email protected]>2012-07-18 16:07:28 +0200
committerMichel Dänzer <[email protected]>2012-07-18 17:19:07 +0200
commit9de16ac0a838a98d71e6abf1f82ccee642073f40 (patch)
treeead4fbd8fa5a0e7b912b20faa815ab65bc983b67 /src
parent70f0eda12723e19147c07740a4b7fcb91a3076d4 (diff)
st/xorg: remove superfluous memset
exaDriverAlloc() uses calloc, which already initialises pExa to zero. Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c
index c8c57ff840a..11985c547fd 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa.c
+++ b/src/gallium/state_trackers/xorg/xorg_exa.c
@@ -1001,8 +1001,6 @@ xorg_exa_init(ScrnInfoPtr pScrn, Bool accel)
goto out_err;
}
- memset(pExa, 0, sizeof(*pExa));
-
pExa->exa_major = 2;
pExa->exa_minor = 2;
pExa->memoryBase = 0;