mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
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>
This commit is contained in:
parent
0376aa6232
commit
9aa1afc8f6
1 changed files with 0 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue