From: Mauro Carvalho Chehab Date: Tue, 27 Oct 2020 09:51:28 +0000 (+0100) Subject: drm: drm_edid: remove a duplicated kernel-doc declaration X-Git-Tag: v5.15~2531^2~2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08989335e2b6b549ab20dd41ba2f9ca9782f3cd8;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/9310f4074fa9d29cd3ad60684d86d0ace8dab7ae.1603791716.git.mchehab+huawei@kernel.org --- diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h index b27a0e2..e97daf6 100644 --- a/include/drm/drm_edid.h +++ b/include/drm/drm_edid.h @@ -359,13 +359,6 @@ drm_load_edid_firmware(struct drm_connector *connector) } #endif -/** - * drm_edid_are_equal - compare two edid blobs. - * @edid1: pointer to first blob - * @edid2: pointer to second blob - * This helper can be used during probing to determine if - * edid had changed. - */ bool drm_edid_are_equal(const struct edid *edid1, const struct edid *edid2); int