Skip to content

Commit 0898933

Browse files
mchehabdanvet
authored andcommitted
drm: drm_edid: remove a duplicated kernel-doc declaration
It is not possible to create cross-references for duplicated symbols. While Sphinx always detected it, on Sphinx 3 it generates warnings like this: .../Documentation/gpu/drm-kms-helpers:326: ../drivers/gpu/drm/drm_edid.c:1626: WARNING: Duplicate C declaration, also defined in 'gpu/drm-kms-helpers'. Declaration is 'bool drm_edid_are_equal (const struct edid *edid1, const struct edid *edid2)'. So, get rid of the duplicated kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/9310f4074fa9d29cd3ad60684d86d0ace8dab7ae.1603791716.git.mchehab+huawei@kernel.org
1 parent 8d7d8c0 commit 0898933

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎include/drm/drm_edid.h‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,13 +359,6 @@ drm_load_edid_firmware(struct drm_connector *connector)
359359
}
360360
#endif
361361

362-
/**
363-
* drm_edid_are_equal - compare two edid blobs.
364-
* @edid1: pointer to first blob
365-
* @edid2: pointer to second blob
366-
* This helper can be used during probing to determine if
367-
* edid had changed.
368-
*/
369362
bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid2);
370363

371364
int

0 commit comments

Comments
 (0)