From 93846b468e778440549ef0cae171c7fe9678ed9a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 9 Mar 2012 09:43:24 +0000 Subject: sna/traps: Remove some dead code This function was never used in this implementation, remove it. Signed-off-by: Chris Wilson --- src/sna/sna_trapezoids.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 727b4d2c..e28c6690 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -483,15 +483,6 @@ cell_list_rewind(struct cell_list *cells) cells->cursor = &cells->head; } -/* Rewind the cell list if its cursor has been advanced past x. */ -inline static void -cell_list_maybe_rewind(struct cell_list *cells, int x) -{ - struct cell *tail = cells->cursor; - if (tail->x > x) - cell_list_rewind (cells); -} - static void cell_list_init(struct cell_list *cells) { -- cgit v1.2.3