From 7ed66ca0fd1160ede890c216c35d4ac42a98ab57 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 12 Sep 2014 21:17:04 +0100 Subject: sna: Remvoe unused code sna_trapezoids_precise.c:566:1: warning: unused function 'polygon_add_line' [-Wunused-function] gen4_vertex.c:3093:1: warning: unused function 'gen4_choose_spans_vertex_buffer' [-Wunused-function] Reported-by: Zdenek Kabelac --- src/sna/gen4_vertex.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/sna/gen4_vertex.c') diff --git a/src/sna/gen4_vertex.c b/src/sna/gen4_vertex.c index 31044d69..7d757298 100644 --- a/src/sna/gen4_vertex.c +++ b/src/sna/gen4_vertex.c @@ -3089,14 +3089,6 @@ emit_span_boxes_linear__avx2(const struct sna_composite_spans_op *op, } #endif -inline static uint32_t -gen4_choose_spans_vertex_buffer(const struct sna_composite_op *op) -{ - int id = op->src.is_solid ? 1 : 2 + !op->src.is_affine; - DBG(("%s: id=%x (%d, 1)\n", __FUNCTION__, 1 << 2 | id, id)); - return 1 << 2 | id; -} - unsigned gen4_choose_spans_emitter(struct sna *sna, struct sna_composite_spans_op *tmp) { -- cgit v1.2.3