Commit effc5b3
ext4: remove useless resetting io_end_size in mpage_process_page()
The command "make clang-analyzer" detects dead stores in
mpage_process_page() function.
Do not reset io_end_size to 0 in the current paths, as the function
exits on those paths without further using io_end_size.
Signed-off-by: Nghia Le <nghialm78@gmail.com>
Link: https://lore.kernel.org/r/20211025221803.3326-1-nghialm78@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 4a69aec commit effc5b3
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | | - | |
2245 | 2244 | | |
2246 | 2245 | | |
2247 | 2246 | | |
| |||
2266 | 2265 | | |
2267 | 2266 | | |
2268 | 2267 | | |
2269 | | - | |
2270 | 2268 | | |
2271 | 2269 | | |
2272 | 2270 | | |
| |||
0 commit comments