diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-18 11:58:43 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-11-18 11:58:43 +0000 |
commit | b6924161108214b4e50c25f4168564ead4000430 (patch) | |
tree | 2e3a04faaddc97ecdf7fa40277bdabe10cfaad52 /src/sna/sna_damage.c | |
parent | 52612185c60605542beb3745a2500ed65a8ffff0 (diff) |
sna/damage: Tidy up a tail return
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 fb161b58..b634c0b2 100644 --- a/src/sna/sna_damage.c +++ b/src/sna/sna_damage.c @@ -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 |