From: jsg Date: Thu, 18 Jan 2024 05:01:52 +0000 (+0000) Subject: Instead of skipping the call to hdcp_destroy(), use NULL for the kobject X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=266d9df0c9b5293d5f40652867bf566d74326049;p=openbsd Instead of skipping the call to hdcp_destroy(), use NULL for the kobject argument. Unused in the function itself as we define away sysfs_remove_bin_file(). --- diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c index cee507ef144..9400cd74a13 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -1907,7 +1907,7 @@ static void amdgpu_dm_fini(struct amdgpu_device *adev) #ifdef notyet hdcp_destroy(&adev->dev->kobj, adev->dm.hdcp_workqueue); #else - STUB(); + hdcp_destroy(NULL, adev->dm.hdcp_workqueue); #endif adev->dm.hdcp_workqueue = NULL; }