mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
st/xorg: remove superfluous memset
exaDriverAlloc() uses calloc, which already initialises pExa to zero. Signed-off-by: Lucas Stach <dev@lynxeye.de>
This commit is contained in:
parent
70f0eda127
commit
9de16ac0a8
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue