drm/qxl: Remove unecessary dma_fence_ops
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 May 2018 08:23:25 +0000 (10:23 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2018 09:50:02 +0000 (11:50 +0200)
The trivial enable_signaling implementation matches the default code.

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

Cc: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Link: https://patchwork.freedesktop.org/patch/msgid/20180502082325.30264-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/qxl/qxl_release.c

index 5d84a66fed3638144917124a02c68dfd420a2baa..04f3605ac42a386cb95fb908a11475b227c267f0 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,
 };