Message ID | 20230117055922.53911-2-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/3] drm/amd/display: Remove the unused variable optc | expand |
diff --git a/drivers/gpu/drm/amd/display/dc/link/link_hpd.c b/drivers/gpu/drm/amd/display/dc/link/link_hpd.c index 5f39dfe06e9a..4746ea623354 100644 --- a/drivers/gpu/drm/amd/display/dc/link/link_hpd.c +++ b/drivers/gpu/drm/amd/display/dc/link/link_hpd.c @@ -137,10 +137,9 @@ enum hpd_source_id get_hpd_line(struct dc_link *link) struct gpio *hpd; enum hpd_source_id hpd_id; - hpd_id = HPD_SOURCEID_UNKNOWN; - + hpd_id = HPD_SOURCEID_UNKNOWN; hpd = link_get_hpd_gpio(link->ctx->dc_bios, link->link_id, - link->ctx->gpio_service); + link->ctx->gpio_service); if (hpd) { switch (dal_irq_get_source(hpd)) {
No functional modification involved. drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_hpd.c:140 get_hpd_line() warn: inconsistent indenting. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3787 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- drivers/gpu/drm/amd/display/dc/link/link_hpd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)