mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
25e7b6c00d
commit
eb78ca6a04
1 changed files with 0 additions and 6 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue