Diff between 1862586e8ca748a68105cfec14c9e70a86b6a68e and f9923bd2b4de61eca71ea512954c685e9490bfcf

Changed Files

File Additions Deletions Status
src/shared/att.c +3 -4 modified

Full Patch

diff --git a/src/shared/att.c b/src/shared/att.c
index ca2d051..4670de7 100644
--- a/src/shared/att.c
+++ b/src/shared/att.c
@@ -485,8 +485,7 @@ static bool can_write_data(struct io *io, void *user_data)
 	case ATT_OP_TYPE_RSP:
 		/* Set in_req to false to indicate that no request is pending */
 		att->in_req = false;
-
-		/* Fall through to the next case */
+		/* fall through */
 	case ATT_OP_TYPE_CMD:
 	case ATT_OP_TYPE_NOT:
 	case ATT_OP_TYPE_CONF:
@@ -901,12 +900,12 @@ static bool can_read_data(struct io *io, void *user_data)
 		}
 
 		att->in_req = true;
-
-		/* Fall through to the next case */
+		/* fall through */
 	case ATT_OP_TYPE_CMD:
 	case ATT_OP_TYPE_NOT:
 	case ATT_OP_TYPE_UNKNOWN:
 	case ATT_OP_TYPE_IND:
+		/* fall through */
 	default:
 		/* For all other opcodes notify the upper layer of the PDU and
 		 * let them act on it.