Commit cf0edf3
committed
Cleanup: Delete dead code from send_merge_thread()
range is always deferenced before it reaches this check, such that the
kmem_zalloc() call is never executed.
There is also no need to set `range->eos_marker = B_TRUE` because it is
already set.
Coverity incorrectly complained about a potential NULL pointer
dereference because of this.
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>1 parent dba4be4 commit cf0edf3
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
1592 | 1589 | | |
1593 | 1590 | | |
1594 | 1591 | | |
| |||
0 commit comments