Files
scst/usr/include
Gleb Chesnokov 7d991169e0 scst: Remove identical userspace sync and trace branches
Coccinelle misc/cond_no_effect.cocci reports:

  usr/include/debug.c:121:1-3:
  WARNING: possible condition with no effect (if == else)

Buffer tracing prints the same final line whether or not a full row has
already been printed. Remove that conditional and its unused j state.

Also remove the identical immediate/non-immediate branches in fileio
cache synchronization. Both branches already call exec_fsync, so retain
that call and the TODO for future background execution. This second
cleanup was found while reviewing the same pattern; it is not a separate
finding in the current report.

The trace output and synchronous cache-flush behavior are unchanged.
2026-10-20 18:02:29 +03:00
..