[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220302132552.bssianizq25c3fu4@liuwe-devbox-debian-v2>
Date: Wed, 2 Mar 2022 13:25:52 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Iouri Tarassov <iourit@...ux.microsoft.com>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, sthemmin@...rosoft.com,
wei.liu@...nel.org, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, spronovo@...rosoft.com,
spronovo@...ux.microsoft.com, gregkh@...uxfoundation.org
Subject: Re: [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.
Powered by blists - more mailing lists