i915: Silence warning: unused parameter warning in intel_bufferobj_buffer
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 23 Dec 2013 04:05:50 +0000 (20:05 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:40:46 +0000 (11:40 -0800)
commit4cd80119073fda0ebe5142a5f0fb92d25b769cb5
tree240c75acc9823fc60453a49e4e0f8ca333098147
parent8468f437e880a0eeed94d79650ecb9b680fdeb02
i915: Silence warning: unused parameter warning in intel_bufferobj_buffer

intel_buffer_objects.c: In function 'old_intel_bufferobj_buffer':
intel_buffer_objects.c:471:17: warning: unused parameter 'flag' [-Wunused-parameter]

The parameter hasn't been used since the i915 and i965 drivers had their
breakup.  i965 got the flags, and i915 got to cry itself to sleep.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/intel_buffer_objects.c
src/mesa/drivers/dri/i915/intel_buffer_objects.h
src/mesa/drivers/dri/i915/intel_pixel_read.c