Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/qxl: Remove unecessary dma_fence_ops

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/20180503142603.28513-12-daniel.vetter@ffwll.ch

-7
-7
drivers/gpu/drm/qxl/qxl_release.c
··· 50 50 return "release"; 51 51 } 52 52 53 - static bool qxl_nop_signaling(struct dma_fence *fence) 54 - { 55 - /* fences are always automatically signaled, so just pretend we did this.. */ 56 - return true; 57 - } 58 - 59 53 static long qxl_fence_wait(struct dma_fence *fence, bool intr, 60 54 signed long timeout) 61 55 { ··· 113 119 static const struct dma_fence_ops qxl_fence_ops = { 114 120 .get_driver_name = qxl_get_driver_name, 115 121 .get_timeline_name = qxl_get_timeline_name, 116 - .enable_signaling = qxl_nop_signaling, 117 122 .wait = qxl_fence_wait, 118 123 }; 119 124