Re: [PATCH] ext4: scope ret locally in ext4_try_to_trim_range()

From
Theodore Ts'o <tytso@mit.edu>
Date
2021-10-28 14:59:45
Also in
kernel-janitors, lkml
Reply to
Lukas Bulwahn, 2021-08-20
On Fri, 20 Aug 2021 14:08:53 +0200, Lukas Bulwahn wrote:
As commit 6920b3913235 ("ext4: add new helper interface
ext4_try_to_trim_range()") moves some code into the separate function
ext4_try_to_trim_range(), the use of the variable ret within that
function is more limited and can be adjusted as well.

Scope the use of the variable ret locally and drop dead assignments.

[...]
Applied, thanks!

[1/1] ext4: scope ret locally in ext4_try_to_trim_range()
      commit: fd7a2ed7b32a4ee41477a5326941b95650575c84

Best regards,
-- 
Theodore Ts'o [off-list ref]
Thread (2 messages) 2 messages, 2 authors, last reply 2021-10-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help