diff options
author | Timothy Arceri <[email protected]> | 2019-10-28 10:03:21 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-10-28 11:24:38 +0000 |
commit | 40258fb8b83325bf208876babf779e7ea08a870c (patch) | |
tree | ce46b3e5d3d3b14d16f5f26427da0b42e93ece8e /src/gallium/drivers/r600 | |
parent | 255de06c5990797832678d7af01876a1afca5b50 (diff) |
util: remove LIST_ADD macro
Just use the inlined function directly. The macro was replaced with
the function in ebe304fa540f.
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/radeon_vce.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/radeon_vce.c b/src/gallium/drivers/r600/radeon_vce.c index b4e048d0dff..89ac8b276a6 100644 --- a/src/gallium/drivers/r600/radeon_vce.c +++ b/src/gallium/drivers/r600/radeon_vce.c @@ -132,12 +132,12 @@ static void sort_cpb(struct rvce_encoder *enc) if (l1) { LIST_DEL(&l1->list); - LIST_ADD(&l1->list, &enc->cpb_slots); + list_add(&l1->list, &enc->cpb_slots); } if (l0) { LIST_DEL(&l0->list); - LIST_ADD(&l0->list, &enc->cpb_slots); + list_add(&l0->list, &enc->cpb_slots); } } @@ -342,7 +342,7 @@ static void rvce_end_frame(struct pipe_video_codec *encoder, slot->pic_order_cnt = enc->pic.pic_order_cnt; if (!enc->pic.not_referenced) { LIST_DEL(&slot->list); - LIST_ADD(&slot->list, &enc->cpb_slots); + list_add(&slot->list, &enc->cpb_slots); } } |