isl: Silence unused parameter warnings in __gen_combine_address implementations
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Feb 2018 02:42:02 +0000 (18:42 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 3 Mar 2018 00:10:44 +0000 (16:10 -0800)
commit50bf1868295ecd5ef5d9673d4f5c1259b9fa2b3f
treea8ec397d2775ecc38bd51480c304cb3c23975c88
parent492a472b28b0a73c50a87427585cf95520588d5d
isl: Silence unused parameter warnings in __gen_combine_address implementations

Reduces my build from 1808 warnings to 1772 warnings by silencing 36
instances of things like

../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c: In function ‘__gen_combine_address’:
../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c:30:29: warning: unused parameter ‘data’ [-Wunused-parameter]
 __gen_combine_address(void *data, void *loc, uint64_t addr, uint32_t delta)
                             ^~~~
../../SOURCE/master/src/intel/isl/isl_emit_depth_stencil.c:30:41: warning: unused parameter ‘loc’ [-Wunused-parameter]
 __gen_combine_address(void *data, void *loc, uint64_t addr, uint32_t delta)
                                         ^~~

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/isl/isl_emit_depth_stencil.c
src/intel/isl/isl_surface_state.c