linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm: Removes invalid function return value comment information
@ 2021-01-12  1:39 Zhaoge Zhang
  2021-01-12  8:54 ` Daniel Vetter
  0 siblings, 1 reply; 2+ messages in thread
From: Zhaoge Zhang @ 2021-01-12  1:39 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, tzimmermann, airlied, daniel
  Cc: dri-devel, linux-kernel

Signed-off-by: Zhaoge Zhang <zhangzhaoge@loongson.cn>
---
 drivers/gpu/drm/drm_file.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c
index b50380f..8548e8b 100644
--- a/drivers/gpu/drm/drm_file.c
+++ b/drivers/gpu/drm/drm_file.c
@@ -240,9 +240,6 @@ static void drm_events_release(struct drm_file *file_priv)
  * before calling this.
  *
  * If NULL is passed, this is a no-op.
- *
- * RETURNS:
- * 0 on success, or error code on failure.
  */
 void drm_file_free(struct drm_file *file)
 {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: Removes invalid function return value comment information
  2021-01-12  1:39 [PATCH] drm: Removes invalid function return value comment information Zhaoge Zhang
@ 2021-01-12  8:54 ` Daniel Vetter
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2021-01-12  8:54 UTC (permalink / raw)
  To: Zhaoge Zhang
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, daniel,
	dri-devel, linux-kernel

On Tue, Jan 12, 2021 at 09:39:27AM +0800, Zhaoge Zhang wrote:
> Signed-off-by: Zhaoge Zhang <zhangzhaoge@loongson.cn>

Applied, thanks for your patch.
-Daniel

> ---
>  drivers/gpu/drm/drm_file.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c
> index b50380f..8548e8b 100644
> --- a/drivers/gpu/drm/drm_file.c
> +++ b/drivers/gpu/drm/drm_file.c
> @@ -240,9 +240,6 @@ static void drm_events_release(struct drm_file *file_priv)
>   * before calling this.
>   *
>   * If NULL is passed, this is a no-op.
> - *
> - * RETURNS:
> - * 0 on success, or error code on failure.
>   */
>  void drm_file_free(struct drm_file *file)
>  {
> -- 
> 2.7.4
> 

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-12  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12  1:39 [PATCH] drm: Removes invalid function return value comment information Zhaoge Zhang
2021-01-12  8:54 ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).