Use the fallthrough macro instead of a comment

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9166 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-09-16 14:28:36 +00:00
parent 570a36ffd2
commit 186798cec4
7 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -3792,7 +3792,7 @@ static int srpt_xmit_response(struct scst_cmd *cmd)
WARN_ONCE(true,
"srpt_xfer_data() returned %d\n",
ret);
/* fall-through */
fallthrough;
case -EIO:
ret = SCST_TGT_RES_FATAL_ERROR;
break;