drm/dp: Remove a gratuituous blank line
authorThierry Reding <treding@nvidia.com>
Mon, 21 Oct 2019 14:34:26 +0000 (16:34 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 23 Oct 2019 16:18:45 +0000 (18:18 +0200)
It's idiomatic to check the return value of a function call immediately
after the function call, without any blank lines in between, to make it
more obvious that the two lines belong together.

Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191021143437.1477719-3-thierry.reding@gmail.com
drivers/gpu/drm/drm_dp_helper.c

index f373798d82f62118a38bc1401935bfdb9a843b56..8f2d7c4850cada44847869cb5678638c52935566 100644 (file)
@@ -220,7 +220,6 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request,
                }
 
                ret = aux->transfer(aux, &msg);
-
                if (ret >= 0) {
                        native_reply = msg.reply & DP_AUX_NATIVE_REPLY_MASK;
                        if (native_reply == DP_AUX_NATIVE_REPLY_ACK) {