i915: Silence unused parameter warning in intel_miptree_create_layout
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 22:11:34 +0000 (15:11 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Sep 2015 03:29:51 +0000 (20:29 -0700)
commit307d5e58496a73bace8c89dbdbba91be171b7c95
treeb78480a408f53607833a429a324a1ab7ddc18eb8
parent5c8aa21309cb8cabd61b73b6706b295d6237d53d
i915: Silence unused parameter warning in intel_miptree_create_layout

The for_bo parameter of intel_miptree_create_layout appears to be unused
since 27eedca when Eric removed some Gen5 code (after the i915 and i965
drivers parted ways).

intel_mipmap_tree.c: In function 'old_intel_miptree_create_layout':
intel_mipmap_tree.c:77:35: warning: unused parameter 'for_bo' [-Wunused-parameter]
                             bool for_bo)
                                   ^

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.c
src/mesa/drivers/dri/i915/intel_mipmap_tree.h
src/mesa/drivers/dri/i915/intel_tex_image.c