mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
scst_vdisk: Fix a kernel version < 2.6.38 compiler warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5569 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2992,13 +2992,11 @@ static int vdisk_unmap_file_range(struct scst_cmd *cmd,
|
||||
scst_set_cmd_error(cmd,
|
||||
SCST_LOAD_SENSE(scst_sense_write_error));
|
||||
res = -EIO;
|
||||
goto out;
|
||||
}
|
||||
#else
|
||||
res = 0;
|
||||
#endif
|
||||
|
||||
out:
|
||||
TRACE_EXIT_RES(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user