lkml.org 
[lkml]   [2021]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] scsi: ufs: Remove unnecessary devm_kfree
Date
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

\
 
 \ /
  Last update: 2021-01-15 05:10    [W:2.363 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site