[PATCH v2 15/27] drm/dp_mst: Cleanup drm_dp_send_link_address() a bit

Dave Airlie airlied at gmail.com
Tue Sep 3 21:42:16 UTC 2019


On Wed, 4 Sep 2019 at 06:48, Lyude Paul <lyude at redhat.com> wrote:
>
> Declare local pointer to the drm_dp_link_address_ack_reply struct
> instead of constantly dereferencing it through the union in
> txmsg->reply. Then, invert the order of conditionals so we don't have to
> do the bulk of the work inside them, and can wrap lines even less. Then
> finally, rearrange variable declarations a bit.
>
> Cc: Juston Li <juston.li at intel.com>
> Cc: Imre Deak <imre.deak at intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Harry Wentland <hwentlan at amd.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Lyude Paul <lyude at redhat.com>

Reviewed-by: Dave Airlie <airlied at redhat.com>


More information about the dri-devel mailing list