drm/dp/mst: Use memchr_inv() instead of memcmp() against a zeroed array
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 12 Jul 2017 15:52:54 +0000 (18:52 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 13 Jul 2017 16:28:43 +0000 (19:28 +0300)
commite38e12895022d7148220fc35782b5bd6461f1736
treefec60bc33e86dc6c046dcff1ff5376376590c1c0
parenta4370c777406c2810e37fafd166ccddecdb2a60c
drm/dp/mst: Use memchr_inv() instead of memcmp() against a zeroed array

We have memch_inv(), so no need to memcmp() against a zeroed temp array.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170712155254.26455-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_dp_mst_topology.c