Skip to content

Commit 4dc1aac

Browse files
dma-buf/sw_sync: remove pointless enable_signaling implementation
Just returning true here is a no-op, remove the optional callback. Signed-off-by: Christian König <[email protected]> Reviewed-by: Simona Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 967d226 commit 4dc1aac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/dma-buf/sw_sync.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,6 @@ static bool timeline_fence_signaled(struct dma_fence *fence)
173173
return !__dma_fence_is_later(fence->seqno, parent->value, fence->ops);
174174
}
175175

176-
static bool timeline_fence_enable_signaling(struct dma_fence *fence)
177-
{
178-
return true;
179-
}
180-
181176
static void timeline_fence_value_str(struct dma_fence *fence,
182177
char *str, int size)
183178
{
@@ -211,7 +206,6 @@ static void timeline_fence_set_deadline(struct dma_fence *fence, ktime_t deadlin
211206
static const struct dma_fence_ops timeline_fence_ops = {
212207
.get_driver_name = timeline_fence_get_driver_name,
213208
.get_timeline_name = timeline_fence_get_timeline_name,
214-
.enable_signaling = timeline_fence_enable_signaling,
215209
.signaled = timeline_fence_signaled,
216210
.release = timeline_fence_release,
217211
.fence_value_str = timeline_fence_value_str,

0 commit comments

Comments
 (0)