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