diff options
author | Vincent Abriou <vincent.abriou@st.com> | 2017-02-20 12:55:10 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-02-23 12:54:54 +1000 |
commit | f81fa767077bbc9ac49c61ed97d28de09f3d069d (patch) | |
tree | 8085deb19aba3f5d43adb8f3ec5aa3af75117dd5 | |
parent | 43f86c9470b8a4c2c26ae678843465aac3831145 (diff) | |
download | linux-f81fa767077bbc9ac49c61ed97d28de09f3d069d.tar.bz2 |
drm/sti: fix build warnings in sti_drv.c and sti_vtg.c files
Fix compilation warning introduced by:
commit 0c7ff84f7f9d ("drm/sti: remove deprecated legacy vtg slave")
commit 5e60f595d6ca ("drm/sti: use atomic_helper for commit")
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | drivers/gpu/drm/sti/sti_drv.c | 9 | ||||
-rw-r--r-- | drivers/gpu/drm/sti/sti_vtg.c | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index e6c1646b9c53..20fc0fbfa849 100644 --- a/drivers/gpu/drm/sti/sti_drv.c +++ b/drivers/gpu/drm/sti/sti_drv.c @@ -117,15 +117,6 @@ err: 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) { diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c index 943bce56692e..2dcba1d3a122 100644 --- a/drivers/gpu/drm/sti/sti_vtg.c +++ b/drivers/gpu/drm/sti/sti_vtg.c @@ -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; |