dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Witten <mfwitten@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH 3/7] DRM: cleanup: Remove unused `gamma_size'
Date: Wed, 21 Sep 2011 22:50:54 -0000	[thread overview]
Message-ID: <10f1fcd39bf54dd5a9074067218c8350-mfwitten@gmail.com> (raw)
In-Reply-To: <b9878116a1944723846034345928f0a8-mfwitten@gmail.com>

Date: Thu, 15 Sep 2011 21:12:19 +0000

Signed-off-by: Michael Witten <mfwitten@gmail.com>
---
 drivers/gpu/drm/drm_fb_helper.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index f7c6854..9a9107a 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -760,7 +760,6 @@ int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
 	int i;
 	struct fb_info *info;
 	struct drm_fb_helper_surface_size sizes;
-	int gamma_size = 0;
 
 	memset(&sizes, 0, sizeof(struct drm_fb_helper_surface_size));
 	sizes.surface_depth = 24;
@@ -810,8 +809,6 @@ int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper,
 		desired_mode = fb_helper->crtc_info[i].desired_mode;
 
 		if (desired_mode) {
-			if (gamma_size == 0)
-				gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size;
 			if (desired_mode->hdisplay < sizes.fb_width)
 				sizes.fb_width = desired_mode->hdisplay;
 			if (desired_mode->vdisplay < sizes.fb_height)
-- 
1.7.6.409.ge7a85

  parent reply	other threads:[~2011-09-21 23:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 22:50 [PATCH 0/7] DRM/Radeon Cleanup Michael Witten
2011-09-21 22:49 ` [PATCH 1/7] DRM: comment: drm_crtc{=>_helper}_set_mode Michael Witten
2011-09-21 22:50 ` [PATCH 2/7] DRM: comment: halve -> half Michael Witten
2011-09-21 22:50 ` Michael Witten [this message]
2011-09-21 22:50 ` [PATCH 4/7] DRM: comment: gdm_proc_lists -> drm_proc_lists Michael Witten
2011-09-21 22:50 ` [PATCH 6/7] DRM: bug: RADEON_DEBUGFS_MAX_{NUM_FILES => COMPONENTS} Michael Witten
2011-09-21 22:50 ` [PATCH 5/7] DRM: cleanup: `size == 0' is never true Michael Witten
2011-09-21 22:50 ` [PATCH 7/7] DRM: cleanup: Remove unsused `tmp' Michael Witten
2011-09-22  9:24   ` Michel Dänzer
2011-09-22 17:16     ` Michael Witten
2015-04-14 13:44   ` [PATCH] trivial: Remove unused variable `tmp' from `radeon_combios_get_lvds_info()' Michael Witten
2015-04-14 15:54     ` Michael Witten
2011-09-26 20:47 ` [PATCH 0/7] DRM/Radeon Cleanup Michael Witten
2011-10-07 19:20   ` [PATCH] DRM: bug: RADEON_DEBUGFS_MAX_{NUM_FILES => COMPONENTS} Michael Witten
2011-10-24 23:21     ` Michael Witten
2011-10-25  1:35       ` Ilija Hadzic
2011-10-26 15:07         ` Michael Witten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10f1fcd39bf54dd5a9074067218c8350-mfwitten@gmail.com \
    --to=mfwitten@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox