lkml.org 
[lkml]   [2022]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 12/30] drivers: hv: dxgkrnl: Sharing of dxgresource objects
On Tue, Mar 01, 2022 at 11:45:59AM -0800, Iouri Tarassov wrote:
[...]
> +void dxgadapter_remove_shared_resource(struct dxgadapter *adapter,
> + struct dxgsharedresource *object)
> +{
> + down_write(&adapter->shared_resource_list_lock);
> + if (object->shared_resource_list_entry.next) {
> + list_del(&object->shared_resource_list_entry);
> + object->shared_resource_list_entry.next = NULL;
> + }

Again, just list_del please. I will skip pointing out this in
later patches.

Thanks,
Wei.

\
 
 \ /
  Last update: 2022-09-17 16:15    [W:0.241 / U:1.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site