scst: Avoid that smatch complains about dead code

Reported by Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4488 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-08-27 21:58:49 +00:00
parent 7efac456a3
commit e515f17629

View File

@@ -4780,12 +4780,13 @@ static inline int scst_is_strict_mgmt_fn(int mgmt_fn)
switch (mgmt_fn) {
#ifdef CONFIG_SCST_ABORT_CONSIDER_FINISHED_TASKS_AS_NOT_EXISTING
case SCST_ABORT_TASK:
return 1;
#endif
#if 0
case SCST_ABORT_TASK_SET:
case SCST_CLEAR_TASK_SET:
#endif
return 1;
#endif
default:
return 0;
}