diff options
author | Lyude Paul <lyude@redhat.com> | 2019-09-03 23:45:53 +0300 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2019-09-04 02:37:00 +0300 |
commit | 37dfdc55ffeb08b20b623eba04a3e3eb3a261962 (patch) | |
tree | e282586c39faa0ebf7f1701fb09f364fae92886a /scripts/gen_compile_commands.py | |
parent | 8b1e589d138c8ad82a3424a9f3df8a74a4a2837a (diff) | |
download | linux-37dfdc55ffeb08b20b623eba04a3e3eb3a261962.tar.xz |
drm/dp_mst: Cleanup drm_dp_send_link_address() a bit
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@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190903204645.25487-16-lyude@redhat.com
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions