[Mesa-dev] [PATCH mesa] egl/display: remove unnecessary code and make it easier to read

Chad Versace chad.versace at intel.com
Thu Jul 7 18:16:08 UTC 2016


On Wed 06 Jul 2016, Eric Engestrom wrote:
> 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 at imgtec.com>
> ---
>  src/egl/main/egldisplay.c | 29 ++++++++++++++---------------
>  1 file changed, 14 insertions(+), 15 deletions(-)

Reviewed-by: Chad Versace <chad.versace at intel.com>

And pushed.


More information about the mesa-dev mailing list