[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1turl2ykz.fsf@ca-mkp.ca.oracle.com>
Date: Wed, 13 Jan 2021 00:30:27 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Bean Huo <huobean@...il.com>
Cc: alim.akhtar@...sung.com, avri.altman@....com,
john.garry@...wei.com, jejb@...ux.ibm.com,
martin.petersen@...cle.com, ebiggers@...gle.com, satyat@...gle.com,
shipujin.t@...il.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, Bean Huo <beanhuo@...ron.com>
Subject: Re: [PATCH v3] scsi: ufs: Remove unnecessary devm_kfree
Bean,
> The memory allocated with devm_kzalloc() is freed automatically no
> need to explicitly call devm_kfree, so delete it and save some
> instruction cycles.
Applied to 5.12/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists