Christian König f778f405fa dma-buf/sync_file: cleanup fence merging a bit
krealloc_array() ignores attempts to reduce the array size, so the attempt
to save memory is completely pointless here.

Also move testing for the no fence case into sync_file_set_fence(), this
way we don't even touch the fence array when we don't have any fences.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220426124637.329764-1-christian.koenig@amd.com
2022-05-04 12:09:53 +02:00
..
2022-04-30 10:24:21 -07:00
2022-03-25 13:35:34 -07:00
2022-04-27 09:41:54 -07:00
2022-04-06 08:47:52 -06:00
2022-03-23 18:03:08 -07:00
2022-03-31 13:57:15 -07:00
2022-04-08 12:59:43 -07:00
2022-03-24 18:12:09 -07:00
2022-05-03 16:08:48 +10:00
2022-04-07 06:35:34 -10:00
2022-04-27 20:36:47 +02:00
2022-04-23 09:52:07 -07:00
2022-04-23 09:46:44 -07:00
2022-03-25 13:56:18 -07:00
2022-05-03 16:08:48 +10:00
2022-03-21 18:33:57 -07:00
2022-03-30 10:04:11 -07:00
2022-04-07 06:35:34 -10:00
2022-03-21 14:46:01 -07:00
2022-03-30 10:50:48 -07:00
2022-04-01 09:37:18 -07:00
2022-03-27 22:18:39 +02:00
2022-04-19 10:30:43 -07:00
2022-04-28 16:51:24 +02:00
2022-04-05 10:40:52 -07:00
2022-03-31 13:57:15 -07:00
2022-04-05 10:40:52 -07:00
2022-03-31 14:14:03 -07:00