sna/damage: Remove unused return value

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-06-12 22:49:05 +01:00
parent aefc0417dd
commit 572745eb24
1 changed files with 1 additions and 3 deletions

View File

@ -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)