From 52789496a78758e32182ddd49263d3a63fc05b1f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 4 Sep 2012 23:10:52 -0700 Subject: Remove useless memset after calloc Reviewed-by: Brian Paul --- src/glx/dri_glx.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/glx/dri_glx.c') diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 3a727e52904..03237d40ba8 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; -- cgit v1.2.3