diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-13 00:27:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-06 18:37:14 +0300 |
commit | 9aa1afc8f62263ed064dc5d94fa7a7ee6054e2ed (patch) | |
tree | 531dcbe252d6844f5821d151e8a789d6fb5d3545 | |
parent | 0376aa62320cab35d8532629fdf9cd3b8cb66c8d (diff) | |
download | linux-9aa1afc8f62263ed064dc5d94fa7a7ee6054e2ed.tar.xz |
usb: chipidea: imx: 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>
Link: https://lore.kernel.org/r/20221212212717.3774606-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/chipidea/usbmisc_imx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index acdb13316cd0..c57c1a71a513 100644 --- a/drivers/usb/chipidea/usbmisc_imx.c +++ b/drivers/usb/chipidea/usbmisc_imx.c @@ -1263,14 +1263,8 @@ static int usbmisc_imx_probe(struct platform_device *pdev) return 0; } -static int usbmisc_imx_remove(struct platform_device *pdev) -{ - return 0; -} - static struct platform_driver usbmisc_imx_driver = { .probe = usbmisc_imx_probe, - .remove = usbmisc_imx_remove, .driver = { .name = "usbmisc_imx", .of_match_table = usbmisc_imx_dt_ids, |