diff options
author | Matt Turner <mattst88@gmail.com> | 2012-09-04 23:10:52 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-09-05 22:28:50 -0700 |
commit | 52789496a78758e32182ddd49263d3a63fc05b1f (patch) | |
tree | 7672028c21313f43ca4c61c8b9ae5a4529bad9a9 /src/glx | |
parent | 6bda027e01c15df24d36de5bf3838ea8ed7e9e56 (diff) | |
download | external_mesa3d-52789496a78758e32182ddd49263d3a63fc05b1f.zip external_mesa3d-52789496a78758e32182ddd49263d3a63fc05b1f.tar.gz external_mesa3d-52789496a78758e32182ddd49263d3a63fc05b1f.tar.bz2 |
Remove useless memset after calloc
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/dri_glx.c | 1 | ||||
-rw-r--r-- | src/glx/drisw_glx.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 3a727e5..03237d4 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -850,7 +850,6 @@ driCreateScreen(int screen, struct glx_display *priv) if (psc == NULL) return NULL; - memset(psc, 0, sizeof *psc); if (!glx_screen_init(&psc->base, screen, priv)) { free(psc); return NULL; diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 920a9ab..014296b 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -636,7 +636,6 @@ driswCreateScreen(int screen, struct glx_display *priv) if (psc == NULL) return NULL; - memset(psc, 0, sizeof *psc); if (!glx_screen_init(&psc->base, screen, priv)) { free(psc); return NULL; |