Re: [PATCH v3] scsi: ufs: Remove unnecessary devm_kfree

Martin K. Petersen
2021-01-15T04:10:01Z

On Tue, 12 Jan 2021 10:21:28 +0100, Bean Huo wrote:

> 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-queue, thanks!

[1/1] scsi: ufs: Remove unnecessary devm_kfree
https://git.kernel.org/mkp/scsi/c/b64750a1b65a

--
Martin K. Petersen Oracle Linux Engineering