summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2020-02-03 15:39:43 -0800
committerKevin Brace <kevinbrace@gmx.com>2020-02-03 15:39:43 -0800
commit3967dccbd947e38f692d7c98a05277395a713987 (patch)
tree67f71351293e9a009fe86c2db137215368dcd528 /src
parent0cccd476c22de296e0ce143a6a4529daf6b8b17d (diff)
No need to zero clear EXA driver struct
exaDriverAlloc() ensures that EXA driver struct is zero cleared. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'src')
-rw-r--r--src/via_exa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/via_exa.c b/src/via_exa.c
index 5f02392..d6d7501 100644
--- a/src/via_exa.c
+++ b/src/via_exa.c
@@ -819,8 +819,6 @@ viaInitExa(ScreenPtr pScreen)
if (!pExa)
return FALSE;
- memset(pExa, 0, sizeof(*pExa));
-
pExa->exa_major = EXA_VERSION_MAJOR;
pExa->exa_minor = EXA_VERSION_MINOR;
pExa->memoryBase = pVia->FBBase;