From: Jesse Barnes Date: Tue, 19 Feb 2013 20:11:43 +0000 (-0800) Subject: drm/i915: remove disabled memset of framebuffer from intel_fb X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=da1a62acd01c1fe09bc7019b36412f50a43d0e2d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/i915: remove disabled memset of framebuffer from intel_fb Commented out and unneeded. Signed-off-by: Jesse Barnes Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c index 1c510da04d16..953ee7387d6a 100644 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c @@ -149,8 +149,6 @@ static int intelfb_create(struct intel_fbdev *ifbdev, } info->screen_size = size; -// memset(info->screen_base, 0, size); - drm_fb_helper_fill_fix(info, fb->pitches[0], fb->depth); drm_fb_helper_fill_var(info, &ifbdev->helper, sizes->fb_width, sizes->fb_height);