drm/v3d: Drop allocation of object without mountpoint
authorMatthias Brugger <matthias.bgg@gmail.com>
Tue, 29 Oct 2024 11:24:29 +0000 (12:24 +0100)
committerMaíra Canal <mcanal@igalia.com>
Wed, 30 Oct 2024 13:21:05 +0000 (10:21 -0300)
commitd28292aa48d1917db39fac6bcdaf991ba0ed279f
treef7d951f5bd6f1672012f1c1effe3b919d807cf44
parent71ba1c9b1c717831920c3d432404ee5a707e04b4
drm/v3d: Drop allocation of object without mountpoint

Function drm_gem_shmem_create_with_mnt() creates an object
without using the mountpoint if gemfs is NULL.

Drop the else branch calling drm_gem_shmem_create().

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241029-v3d-v2-1-c0d3dd328d1b@gmail.com
drivers/gpu/drm/v3d/v3d_bo.c