]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/vmwgfx: Remove the user resource destructor check
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 26 Sep 2018 13:42:50 +0000 (15:42 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 27 Sep 2018 13:21:37 +0000 (15:21 +0200)
commitb1d05b4fc6b8f2bf5d802cb08c87d96802c4c7ba
treec43a15541ed8c8f046f049b03ae0bcf1e2d5e1f6
parent13289241fe8b8c336ec8277b9c4643ea7fbb2f70
drm/vmwgfx: Remove the user resource destructor check

We were checking that the resource destructor matched that of the
intended object type, to make sure the looked up resource was of the
right type.

But we already have an object type check in place which makes sure the
resource is of the right type.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c