Commit afcc4e3
ext4: scope ret locally in ext4_try_to_trim_range()
As commit 6920b39 ("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.
No functional change.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20210820120853.23134-1-lukas.bulwahn@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 3bbef91 commit afcc4e3
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6299 | 6299 | | |
6300 | 6300 | | |
6301 | 6301 | | |
6302 | | - | |
6303 | 6302 | | |
6304 | 6303 | | |
6305 | 6304 | | |
| |||
6314 | 6313 | | |
6315 | 6314 | | |
6316 | 6315 | | |
6317 | | - | |
| 6316 | + | |
| 6317 | + | |
6318 | 6318 | | |
6319 | 6319 | | |
6320 | | - | |
6321 | 6320 | | |
6322 | 6321 | | |
6323 | 6322 | | |
| |||
0 commit comments