diff options
author | Lucas Stach <[email protected]> | 2012-07-18 16:07:28 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-07-18 17:19:07 +0200 |
commit | 9de16ac0a838a98d71e6abf1f82ccee642073f40 (patch) | |
tree | ead4fbd8fa5a0e7b912b20faa815ab65bc983b67 /src/gallium/state_trackers/xorg/xorg_exa.c | |
parent | 70f0eda12723e19147c07740a4b7fcb91a3076d4 (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/gallium/state_trackers/xorg/xorg_exa.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa.c | 2 |
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; |