i-g-t: silence -Winline

In this case, the code already has a comment about the problem. We don't
need to flood the build with this less than useful message.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky 2012-01-15 13:41:42 -08:00
parent 1ffe6b0ee8
commit 802bd74c5f

View File

@ -43,6 +43,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
* be passed as structs rather than dwords, but that's a little bit of
* work...
*/
#pragma GCC diagnostic ignored "-Winline"
static inline int
intel_batchbuffer_space(struct intel_batchbuffer *batch)
{