diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-12 22:49:05 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-12 22:53:48 +0100 |
commit | 572745eb243a96819c8fa248f4ffdd703ed13b0f (patch) | |
tree | ed03c762f905ed3a08f6ddc199a50a554f612849 /src/sna/sna_damage.c | |
parent | aefc0417dde8b2137a787459a69d91c14902f22b (diff) |
sna/damage: Remove unused return value
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_damage.c')
-rw-r--r-- | src/sna/sna_damage.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sna/sna_damage.c b/src/sna/sna_damage.c index e563db2f..1ea9e3c0 100644 --- a/src/sna/sna_damage.c +++ b/src/sna/sna_damage.c @@ -154,7 +154,7 @@ static const char *_debug_describe_damage(char *buf, int max, #endif -static struct sna_damage_box * +static void reset_embedded_box(struct sna_damage *damage) { damage->dirty = false; @@ -162,8 +162,6 @@ reset_embedded_box(struct sna_damage *damage) damage->embedded_box.size = damage->remain = ARRAY_SIZE(damage->embedded_box.box); list_init(&damage->embedded_box.list); - - return (struct sna_damage_box *)&damage->embedded_box; } static struct sna_damage *_sna_damage_create(void) |