From 9de16ac0a838a98d71e6abf1f82ccee642073f40 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Wed, 18 Jul 2012 16:07:28 +0200 Subject: st/xorg: remove superfluous memset exaDriverAlloc() uses calloc, which already initialises pExa to zero. Signed-off-by: Lucas Stach --- src/gallium/state_trackers/xorg/xorg_exa.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/state_trackers/xorg') 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; -- cgit v1.2.3