diff mbox series

[v3,1/2] usb: cdns3: Remove the invalid comment

Message ID 20250314101639.424013-1-liqiong@nfschina.com
State New
Headers show
Series [v3,1/2] usb: cdns3: Remove the invalid comment | expand

Commit Message

Li Qiong March 14, 2025, 10:16 a.m. UTC
The function don't return value, remove the invalid comment.

Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
v2: Split the first patch to two patches.
v3: Add changes from the previous version.

 drivers/usb/cdns3/cdns3-plat.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Peter Chen (CIX) March 17, 2025, 3:28 a.m. UTC | #1
On 25-03-14 18:16:38, Li Qiong wrote:
> The function don't return value, remove the invalid comment.
> 
> Signed-off-by: Li Qiong <liqiong@nfschina.com>

Acked-by: Peter Chen <peter.chen@kernel.org>

> ---
> v2: Split the first patch to two patches.
> v3: Add changes from the previous version.
> 
>  drivers/usb/cdns3/cdns3-plat.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
> index 59ec505e198a..735df88774e4 100644
> --- a/drivers/usb/cdns3/cdns3-plat.c
> +++ b/drivers/usb/cdns3/cdns3-plat.c
> @@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
>  /**
>   * cdns3_plat_remove() - unbind drd driver and clean up
>   * @pdev: Pointer to Linux platform device
> - *
> - * Returns 0 on success otherwise negative errno
>   */
>  static void cdns3_plat_remove(struct platform_device *pdev)
>  {
> -- 
> 2.30.2
>
diff mbox series

Patch

diff --git a/drivers/usb/cdns3/cdns3-plat.c b/drivers/usb/cdns3/cdns3-plat.c
index 59ec505e198a..735df88774e4 100644
--- a/drivers/usb/cdns3/cdns3-plat.c
+++ b/drivers/usb/cdns3/cdns3-plat.c
@@ -179,8 +179,6 @@  static int cdns3_plat_probe(struct platform_device *pdev)
 /**
  * cdns3_plat_remove() - unbind drd driver and clean up
  * @pdev: Pointer to Linux platform device
- *
- * Returns 0 on success otherwise negative errno
  */
 static void cdns3_plat_remove(struct platform_device *pdev)
 {