Skip to content

Commit 02c50fa

Browse files
drm/writeback: 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 4dc1aac commit 02c50fa

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/gpu/drm/drm_writeback.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,9 @@ drm_writeback_fence_get_timeline_name(struct dma_fence *fence)
100100
return wb_connector->timeline_name;
101101
}
102102

103-
static bool drm_writeback_fence_enable_signaling(struct dma_fence *fence)
104-
{
105-
return true;
106-
}
107-
108103
static const struct dma_fence_ops drm_writeback_fence_ops = {
109104
.get_driver_name = drm_writeback_fence_get_driver_name,
110105
.get_timeline_name = drm_writeback_fence_get_timeline_name,
111-
.enable_signaling = drm_writeback_fence_enable_signaling,
112106
};
113107

114108
static int create_writeback_properties(struct drm_device *dev)

0 commit comments

Comments
 (0)