drm/qxl: Remove unecessary dma_fence_ops
authorDaniel Vetter <[email protected]>
Thu, 3 May 2018 14:25:59 +0000 (16:25 +0200)
committerDaniel Vetter <[email protected]>
Tue, 3 Jul 2018 11:13:56 +0000 (13:13 +0200)
The trivial enable_signaling implementation matches the default code.

v2: Fix up commit message to match patch better (Eric).

Cc: Eric Anholt <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/qxl/qxl_release.c

index 7cb214577275ba76ab0b6045e5863394f1ebb5f9..e37f0097f7441323281b8e06f76a04e1104ab260 100644 (file)
@@ -50,12 +50,6 @@ static const char *qxl_get_timeline_name(struct dma_fence *fence)
        return "release";
 }
 
-static bool qxl_nop_signaling(struct dma_fence *fence)
-{
-       /* fences are always automatically signaled, so just pretend we did this.. */
-       return true;
-}
-
 static long qxl_fence_wait(struct dma_fence *fence, bool intr,
                           signed long timeout)
 {
@@ -119,7 +113,6 @@ signaled:
 static const struct dma_fence_ops qxl_fence_ops = {
        .get_driver_name = qxl_get_driver_name,
        .get_timeline_name = qxl_get_timeline_name,
-       .enable_signaling = qxl_nop_signaling,
        .wait = qxl_fence_wait,
 };