diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-09 09:43:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-09 09:43:24 +0000 |
commit | 93846b468e778440549ef0cae171c7fe9678ed9a (patch) | |
tree | f6840681b1605946c8f40359969fde6baa853a7b | |
parent | 90c995736555ce14b08b69a42832d9774ba58304 (diff) |
sna/traps: Remove some dead code
This function was never used in this implementation, remove it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_trapezoids.c | 9 |
1 files changed, 0 insertions, 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) { |