mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user