Commit eb78ca6a authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Mauro Carvalho Chehab
Browse files

media: ti/davinci: vpbe_osd: Drop empty platform remove function



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

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarLad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 25e7b6c0
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1561,14 +1561,8 @@ static int osd_probe(struct platform_device *pdev)
	return 0;
}

static int osd_remove(struct platform_device *pdev)
{
	return 0;
}

static struct platform_driver osd_driver = {
	.probe		= osd_probe,
	.remove		= osd_remove,
	.driver		= {
		.name	= MODULE_NAME,
	},