projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf539a
)
drm: fix useless gcc unused variable warning
author
Dave Airlie
<airlied@redhat.com>
Thu, 18 Dec 2008 06:59:02 +0000
(16:59 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Mon, 29 Dec 2008 07:47:24 +0000
(17:47 +1000)
the calling function doesn't call this function unless one of the two
states that sets the value is true.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_edid.c
b/drivers/gpu/drm/drm_edid.c
index 681753e57dc716f49109f430e216df6824f1f6a5..0fbb0da342cbee7b6b6bd50dbe65cbd51b665bf1 100644
(file)
--- a/
drivers/gpu/drm/drm_edid.c
+++ b/
drivers/gpu/drm/drm_edid.c
@@
-205,7
+205,7
@@
static void edid_fixup_preferred(struct drm_connector *connector,
u32 quirks)
{
struct drm_display_mode *t, *cur_mode, *preferred_mode;
- int target_refresh;
+ int target_refresh
= 0
;
if (list_empty(&connector->probed_modes))
return;