[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230706084729.12ed5725@kernel.org>
Date: Thu, 6 Jul 2023 08:47:29 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Wang Ming <machel@...o.com>
Cc: Jon Maloy <jmaloy@...hat.com>, Ying Xue <ying.xue@...driver.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH v1] net:tipc:Remove repeated initialization
On Thu, 6 Jul 2023 21:42:09 +0800 Wang Ming wrote:
> The original code initializes 'tmp' twice,
> which causes duplicate initialization issue.
> To fix this, we remove the second initialization
> of 'tmp' and use 'parent' directly forsubsequent
> operations.
>
> Signed-off-by: Wang Ming <machel@...o.com>
Please stop sending the "remove repeated initialization" patches
to networking, thanks.
Powered by blists - more mailing lists