Skip to content

Commit

Permalink
gpu: drm: gma500: remove two more dead variable
Browse files Browse the repository at this point in the history
The dead code removal left two unused variables:

drivers/gpu/drm/gma500/mdfld_tpo_vid.c: In function 'tpo_vid_get_config_mode':
drivers/gpu/drm/gma500/mdfld_tpo_vid.c:34:31: error: unused variable 'ti' [-Werror=unused-variable]

This removes them as well.

Fixes: 94d7fb4 ("gpu: drm: gma500: remove dead code")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Patrik Jakobsson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
arndb authored and patjak committed May 23, 2017
1 parent 9f80021 commit 7fcd075
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/gma500/mdfld_tpo_vid.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
static struct drm_display_mode *tpo_vid_get_config_mode(struct drm_device *dev)
{
struct drm_display_mode *mode;
struct drm_psb_private *dev_priv = dev->dev_private;
struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD;

mode = kzalloc(sizeof(*mode), GFP_KERNEL);
if (!mode)
Expand Down

0 comments on commit 7fcd075

Please sign in to comment.