drm/qxl: drop WARN_ONCE()
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 24 May 2019 10:42:50 +0000 (12:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 27 May 2019 11:17:03 +0000 (13:17 +0200)
There is no good reason to flood the kernel log with a WARN
stacktrace just because someone tried to mmap a prime buffer.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190524104251.22761-1-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_prime.c

index 114653b471c6a8969174ec4759c5c0cb7d9a46e7..7d3816fca5a8722a82ddb53e6351444edb238093 100644 (file)
@@ -77,6 +77,5 @@ void qxl_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr)
 int qxl_gem_prime_mmap(struct drm_gem_object *obj,
                       struct vm_area_struct *area)
 {
-       WARN_ONCE(1, "not implemented");
        return -ENOSYS;
 }