egl/display: remove unnecessary code and make it easier to read
authorEric Engestrom <eric.engestrom@imgtec.com>
Wed, 6 Jul 2016 13:31:31 +0000 (14:31 +0100)
committerChad Versace <chad.versace@intel.com>
Thu, 7 Jul 2016 18:13:13 +0000 (11:13 -0700)
commit7adb9b094894a512c019b3378eb9e3c69d830edc
tree77b76d2d4a9c99bb266cd136648a25e66e4ee711
parent2e6d35809bf4ef60af62f9c84d394e97d5bbe2a7
egl/display: remove unnecessary code and make it easier to read

Remove the two first level `if` as they will always be true, and
flatten the two remaining `if`.
No functional change.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
src/egl/main/egldisplay.c