Skip to content

Commit

Permalink
drm/sti: fix build warnings in sti_drv.c and sti_vtg.c files
Browse files Browse the repository at this point in the history
Fix compilation warning introduced by:
commit 0c7ff84 ("drm/sti: remove deprecated legacy vtg slave")
commit 5e60f59 ("drm/sti: use atomic_helper for commit")

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Vincent Abriou authored and Dave Airlie committed Feb 23, 2017
1 parent 43f86c9 commit f81fa76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions drivers/gpu/drm/sti/sti_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,6 @@ static int sti_drm_dbg_init(struct drm_minor *minor)
return ret;
}

static void sti_drm_dbg_cleanup(struct drm_minor *minor)
{
drm_debugfs_remove_files(sti_drm_dbg_list,
ARRAY_SIZE(sti_drm_dbg_list), minor);

drm_debugfs_remove_files((struct drm_info_list *)&sti_drm_fps_fops,
1, minor);
}

static int sti_atomic_check(struct drm_device *dev,
struct drm_atomic_state *state)
{
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/sti/sti_vtg.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,6 @@ static irqreturn_t vtg_irq(int irq, void *arg)
static int vtg_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
struct device_node *np;
struct sti_vtg *vtg;
struct resource *res;
int ret;
Expand Down

0 comments on commit f81fa76

Please sign in to comment.