From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0223C136C for ; Thu, 31 Aug 2023 01:29:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A00ADC433C8; Thu, 31 Aug 2023 01:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693445384; bh=cb760b00c88nI7p8jqVzDcqBTkiybLXeMCvY7zM8QYI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HPq+O/NUlMIiNjY2Pwuau57du84cZbJ0ezIl0aItG0HKN/VKxFvOPVw9DYGasnN6g Fha02aIA0Ju/hoNWEf2WU8FFPgqWjucJMeiWLevJxvpaChAjCCJiSM9dcGB1fyu6q5 +bjKwinXwTIi8VOwCIVTFAks9Gv+jC651cX9ecv9uxuiEutm3IzdfAmFLwwVoUSxuV 91kEeXHCLK0YAC+PUaxDUkLIhRO3BWND3rP3QhLKaH3NnSOckka3Wo/75F3aVdT0vi 9UjUhEdh9QKYQIyGPG76u7CvzlsA5PW500nhQuj8ZQODI3RBVD6TNMM6b5nJZXF/hj RS0cbLEbvkctQ== Date: Wed, 30 Aug 2023 18:29:43 -0700 From: Jakub Kicinski To: Jinjie Ruan Cc: , Richard Cochran Subject: Re: [PATCH -next] ptp: ptp_ines: Use list_for_each_entry() helper Message-ID: <20230830182943.6aa2e346@kernel.org> In-Reply-To: <20230830090816.529438-1-ruanjinjie@huawei.com> References: <20230830090816.529438-1-ruanjinjie@huawei.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 30 Aug 2023 17:08:16 +0800 Jinjie Ruan wrote: > Convert list_for_each() to list_for_each_entry() so that the this > list_head pointer and list_entry() call are no longer needed, which > can reduce a few lines of code. No functional changed. > > Signed-off-by: Jinjie Ruan ## Form letter - net-next-closed The merge window for v6.6 has begun and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after Sept 11th. RFC patches sent for review only are obviously welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle -- pw-bot: defer