mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 03:31:26 +00:00
fileio: Remove dead code
There is no FUA bit in WRITE VERIFY commands. Detected by Coverity. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
@@ -325,8 +325,6 @@ static int do_exec(struct vdisk_cmd *vcmd)
|
||||
/* O_DSYNC flag is used for WT devices */
|
||||
if (reply->status == 0)
|
||||
exec_verify(vcmd, loff);
|
||||
else if (fua)
|
||||
exec_fsync(vcmd);
|
||||
} else {
|
||||
PRINT_WARNING("Attempt to write to read-only "
|
||||
"device %s", dev->name);
|
||||
|
||||
Reference in New Issue
Block a user