vtg_remove does nothing just remove it

Signed-off-by: Benjamin Gaignard <[email protected]>
---
 drivers/gpu/drm/sti/sti_vtg.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/gpu/drm/sti/sti_vtg.c b/drivers/gpu/drm/sti/sti_vtg.c
index 5f75aea..3aa2fa6 100644
--- a/drivers/gpu/drm/sti/sti_vtg.c
+++ b/drivers/gpu/drm/sti/sti_vtg.c
@@ -420,11 +420,6 @@ static int vtg_probe(struct platform_device *pdev)
        return 0;
 }
 
-static int vtg_remove(struct platform_device *pdev)
-{
-       return 0;
-}
-
 static const struct of_device_id vtg_of_match[] = {
        { .compatible = "st,vtg", },
        { /* sentinel */ }
@@ -438,7 +433,6 @@ struct platform_driver sti_vtg_driver = {
                .of_match_table = vtg_of_match,
        },
        .probe  = vtg_probe,
-       .remove = vtg_remove,
 };
 
 MODULE_AUTHOR("Benjamin Gaignard <[email protected]>");
-- 
2.7.4

Reply via email to