scst: Avoid that the compiler complains about 'dev' being unused with CONFIG_SCST_STRICT_SERIALIZING enabled

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-07-02 11:55:51 +00:00
parent 6a353597eb
commit bf75702c0b

View File

@@ -465,7 +465,9 @@ EXPORT_SYMBOL(scst_cmd_init_done);
int scst_pre_parse(struct scst_cmd *cmd)
{
int res;
#ifndef CONFIG_SCST_STRICT_SERIALIZING
struct scst_device *dev = cmd->dev;
#endif
struct scst_dev_type *devt = cmd->devt;
int rc;