sna/damage: Tidy up a tail return

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-11-18 11:58:43 +00:00
parent 52612185c6
commit b692416110
1 changed files with 1 additions and 3 deletions

View File

@ -901,9 +901,7 @@ __sna_damage_add_points(struct sna_damage *damage,
return damage;
damage_union(damage, &extents);
_sna_damage_create_elt_from_points(damage, p, n, dx, dy);
return damage;
return _sna_damage_create_elt_from_points(damage, p, n, dx, dy);
}
#if HAS_DEBUG_FULL