[Mesa-dev] [PATCH 3/3] i915: Silence warning: unused parameter warning in intel_bufferobj_buffer

Kenneth Graunke kenneth at whitecape.org
Mon Jan 6 10:51:03 PST 2014


On 01/03/2014 04:51 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> intel_buffer_objects.c: In function 'old_intel_bufferobj_buffer':

"old_"? :)

> 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 at intel.com>

Don't worry, we threw them out in i965 too.

Patch 3 is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list