[igt-dev] [PATCH i-g-t] lib/igt_kms.h: Remove duplicate docs for igt_require_pipe

Petri Latvala petri.latvala at intel.com
Wed Sep 16 08:42:55 UTC 2020


Documentation generally goes where the definition is, and for
non-inline functions that's usually in the .c file. igt_require_pipe
docs were duplicated to both the declaration and the definition,
remove the redundant one.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Mohammed Khajapasha <mohammed.khajapasha at intel.com>
Cc: Arkadiusz Hiler <arek at hiler.eu>
---
 lib/igt_kms.h | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index f41eadaf..09a5eec2 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -875,19 +875,8 @@ int igt_connector_sysfs_open(int drm_fd,
 			     drmModeConnector *connector);
 uint32_t igt_reduce_format(uint32_t format);
 
-
-/*
- * igt_require_pipe:
- * @display: pointer to igt_display_t
- * @pipe: pipe which need to check
- *
- * Skip a (sub-)test if the pipe not enabled.
- *
- * Should be used everywhere where a test checks pipe and skip
- * test when pipe is not enabled.
- */
 void igt_require_pipe(igt_display_t *display,
-		enum pipe pipe);
+		      enum pipe pipe);
 
 void igt_dump_connectors_fd(int drmfd);
 void igt_dump_crtcs_fd(int drmfd);
-- 
2.20.1



More information about the igt-dev mailing list