[PATCH 2/4] media: ti/davinci: vpbe_venc: Drop empty platform remove function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A remove callback just returning 0 is equivalent to no remove callback
at all. So drop the useless function.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
---
 drivers/media/platform/ti/davinci/vpbe_venc.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/media/platform/ti/davinci/vpbe_venc.c b/drivers/media/platform/ti/davinci/vpbe_venc.c
index 4c8e31de12b1..6bde6517cba5 100644
--- a/drivers/media/platform/ti/davinci/vpbe_venc.c
+++ b/drivers/media/platform/ti/davinci/vpbe_venc.c
@@ -655,14 +655,8 @@ static int venc_probe(struct platform_device *pdev)
 	return 0;
 }
 
-static int venc_remove(struct platform_device *pdev)
-{
-	return 0;
-}
-
 static struct platform_driver venc_driver = {
 	.probe		= venc_probe,
-	.remove		= venc_remove,
 	.driver		= {
 		.name	= MODULE_NAME,
 	},
-- 
2.38.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux