[PATCH] Fix drm documentation warning

From: Taichi Nishimura
Date: Tue Feb 07 2023 - 22:09:50 EST


Sorry to re-send this patch again.
I forgot to attach description.

When running make htmldocs, I found that drm_accel_node
does not exist. The documents do not have any links to
acceleration nodes, so I removed them.

This patch is an extra credit for documentation task
in the Linux kernel Bug Fixing Spring unpaid 2023.

Best,
Taichi

Signed-off-by: Taichi Nishimura <awkrail01@xxxxxxxxx>
---
include/drm/drm_file.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h
index 0d1f853092ab..cffccf6b94de 100644
--- a/include/drm/drm_file.h
+++ b/include/drm/drm_file.h
@@ -407,8 +407,6 @@ static inline bool drm_is_render_client(const struct drm_file *file_priv)
*
* Returns true if this is an open file of the compute acceleration node, i.e.
* &drm_file.minor of @file_priv is a accel minor.
- *
- * See also the :ref:`section on accel nodes <drm_accel_node>`.
*/
static inline bool drm_is_accel_client(const struct drm_file *file_priv)
{
--
2.25.1