i915, i965: Silence unused parameter warnings in intel_mipmap_tree.h
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 21:33:59 +0000 (14:33 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Sep 2015 03:29:51 +0000 (20:29 -0700)
commit68b44dd5b23c0fca8c09357ffb5d6826f8b4b344
tree08b7d708b5534a20f6ccc560db1b8fdada6170d9
parent094877f9d23169b1d209fb0c97f9b6d4679842d9
i915, i965: Silence unused parameter warnings in intel_mipmap_tree.h

These only occurred in release builds, but they occurred in every file
that included intel_mipmap_tree.h.  Lots of spam. :(

intel_mipmap_tree.h: In function 'intel_miptree_check_level_layer':
intel_mipmap_tree.h:595:59: warning: unused parameter 'mt' [-Wunused-parameter]
 intel_miptree_check_level_layer(struct intel_mipmap_tree *mt,
                                                           ^
intel_mipmap_tree.h:596:42: warning: unused parameter 'level' [-Wunused-parameter]
                                 uint32_t level,
                                          ^
intel_mipmap_tree.h:597:42: warning: unused parameter 'layer' [-Wunused-parameter]
                                 uint32_t layer)
                                          ^

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i915/intel_mipmap_tree.h
src/mesa/drivers/dri/i965/intel_mipmap_tree.h