summaryrefslogtreecommitdiff
path: root/lib/igt_core.h
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2016-02-26 08:46:30 -0800
committerMatt Roper <matthew.d.roper@intel.com>2016-02-26 08:52:53 -0800
commit3482925454da8c107f720448d24789ce6bf884c4 (patch)
tree035e196d1c6d8a357e41d7321cb2ae7ede4d3252 /lib/igt_core.h
parent405b3478d1ac28141a334fe42e2908f2ea59e976 (diff)
kms_atomic: drop unnecessary connector looping from plane_primary test
Local variable num_connectors is never initialized before being auto-incremented in the loop. If we wind up with a non-zero garbage value, it will lead us to try to write to an out-of-bounds array index. We should probably initialize it to zero before use. However on closer inspection, the plane_primary test doesn't actually wind up using the connector list or number of connectors, so just remove the whole block of code; it was probably brought in by accident as part of a copy-paste operation. Cc: Daniel Stone <daniels@collabora.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'lib/igt_core.h')
0 files changed, 0 insertions, 0 deletions