diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-13 16:35:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-06 09:01:25 +0100 |
commit | eb78ca6a0496795f3abf16fe64b8450ef0639195 (patch) | |
tree | 55c414c33a0a52544d6fca398a02e0e62c1e1990 /drivers/media/platform | |
parent | 25e7b6c00dbf5cd319bc8bee1588f67880e45ee0 (diff) | |
download | lwn-eb78ca6a0496795f3abf16fe64b8450ef0639195.tar.gz lwn-eb78ca6a0496795f3abf16fe64b8450ef0639195.zip |
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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/ti/davinci/vpbe_osd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/platform/ti/davinci/vpbe_osd.c b/drivers/media/platform/ti/davinci/vpbe_osd.c index 32f7ef547c82..f6ea71c081d4 100644 --- a/drivers/media/platform/ti/davinci/vpbe_osd.c +++ b/drivers/media/platform/ti/davinci/vpbe_osd.c @@ -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, }, |