isl: Fix some tautological-compare warnings
authorBen Widawsky <ben@bwidawsk.net>
Fri, 27 May 2016 04:59:17 +0000 (21:59 -0700)
committerBen Widawsky <ben@bwidawsk.net>
Fri, 27 May 2016 04:59:17 +0000 (21:59 -0700)
commit8314dd7ff2c4719ffb64b202cf5fdd0e38ad276e
tree913c4fadf99700600baf2d74486845a1c156edb5
parent4ccf8c952abb471f94d6f40786d896723f94c0ea
isl: Fix some tautological-compare warnings

Fixes:
isl.c:62:22: warning: self-comparison always evaluates to true [-Wtautological-compare]
    assert(ISL_DEV_GEN(dev) == dev->info->gen);
                      ^~
isl.c:63:33: warning: self-comparison always evaluates to true [-Wtautological-compare]
    assert(ISL_DEV_USE_SEPARATE_STENCIL(dev) == dev->use_separate_stencil);

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/isl/isl.c
src/intel/isl/isl.h