lkml.org 
[lkml]   [2022]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 10/30] drivers: hv: dxgkrnl: Creation of compute device sync objects
On Tue, Mar 01, 2022 at 11:45:57AM -0800, Iouri Tarassov wrote:
[...]
> +void dxgadapter_remove_syncobj(struct dxgsyncobject *object)
> +{
> + down_write(&object->adapter->shared_resource_list_lock);
> + if (object->syncobj_list_entry.next) {
> + list_del(&object->syncobj_list_entry);
> + object->syncobj_list_entry.next = NULL;
> + }

Just use list_del here.

Thanks,
Wei.

\
 
 \ /
  Last update: 2022-03-02 14:26    [W:0.230 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site