mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 14:12:33 +00:00
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.