From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/bridge: Remove redundant error check in drm_bridge_helper_reset_crtc() Date: Tue, 28 Apr 2026 15:25:19 +1000 Message-ID: In-Reply-To: <20260426-dw-hdmi-qp-scramb-v5-1-d778e70c317b@collabora.com> References: <20260426-dw-hdmi-qp-scramb-v5-0-d778e70c317b@collabora.com> <20260426-dw-hdmi-qp-scramb-v5-1-d778e70c317b@collabora.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Patch Review Straightforward cleanup. The existing code is: ```c ret =3D drm_atomic_helper_reset_crtc(crtc, ctx); if (ret) goto out; out: drm_modeset_unlock(&dev->mode_config.connection_mutex); return ret; ``` The `goto out` on error jumps to the immediately following label, making th= e check a no-op. The removal is correct =E2=80=94 `ret` is returned either = way. **Reviewed-by worthy. No issues.** --- --- Generated by Claude Code Patch Reviewer