drm/virtio: simplify the return expression
authorMinghao Chi <chi.minghao@zte.com.cn>
Fri, 29 Apr 2022 05:49:11 +0000 (05:49 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 9 Jun 2022 05:30:13 +0000 (07:30 +0200)
commit20f038d074d4fa52e88a36bebf25e81c88d7e6fd
treee7a7a21bbaab2face21e9b827caf594e1fbc136f
parentd9c1452c0f07c2e0766a6cf3921eca182e26fdf3
drm/virtio: simplify the return expression

Simplify the return expression.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: http://patchwork.freedesktop.org/patch/msgid/20220429054911.3851977-1-chi.minghao@zte.com.cn
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_prime.c