diff mbox series

accel: drm_accel: remove incorrect comments

Message ID 20240731064253.24523-1-bajing@cmss.chinamobile.com (mailing list archive)
State New, archived
Headers show
Series accel: drm_accel: remove incorrect comments | expand

Commit Message

Ba Jing July 31, 2024, 6:42 a.m. UTC
accel_minor_replace is of type void, so remove the explanation of the return value in the comments.

Signed-off-by: bajing <bajing@cmss.chinamobile.com>
---
 drivers/accel/drm_accel.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Carl Vanderlip Aug. 9, 2024, 3:26 p.m. UTC | #1
On 7/30/2024 11:42 PM, bajing wrote:
 > accel_minor_replace is of type void, so remove the explanation of the 
return value in the comments.
 >
 > Signed-off-by: bajing <bajing@cmss.chinamobile.com>

Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Jeffrey Hugo Aug. 9, 2024, 4:52 p.m. UTC | #2
On 7/31/2024 12:42 AM, bajing wrote:
> accel_minor_replace is of type void, so remove the explanation of the return value in the comments.
> 
> Signed-off-by: bajing <bajing@cmss.chinamobile.com>
> ---
>   drivers/accel/drm_accel.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/accel/drm_accel.c b/drivers/accel/drm_accel.c
> index 16c3edb8c46e..09fb64444cc6 100644
> --- a/drivers/accel/drm_accel.c
> +++ b/drivers/accel/drm_accel.c
> @@ -161,8 +161,6 @@ void accel_minor_remove(int index)
>    * This function access the accel minors idr structure and replaces the pointer
>    * that is associated with an existing id. Because the minor pointer can be
>    * NULL, we need to explicitly pass the index.
> - *
> - * Return: 0 for success, negative value for error
>    */
>   void accel_minor_replace(struct drm_minor *minor, int index)
>   {

Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
diff mbox series

Patch

diff --git a/drivers/accel/drm_accel.c b/drivers/accel/drm_accel.c
index 16c3edb8c46e..09fb64444cc6 100644
--- a/drivers/accel/drm_accel.c
+++ b/drivers/accel/drm_accel.c
@@ -161,8 +161,6 @@  void accel_minor_remove(int index)
  * This function access the accel minors idr structure and replaces the pointer
  * that is associated with an existing id. Because the minor pointer can be
  * NULL, we need to explicitly pass the index.
- *
- * Return: 0 for success, negative value for error
  */
 void accel_minor_replace(struct drm_minor *minor, int index)
 {