Bluetooth: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:

committed by
Marcel Holtmann

parent
710a919461
commit
a3b4cbfc07
@@ -106,7 +106,7 @@ static void bcm203x_complete(struct urb *urb)
|
||||
}
|
||||
|
||||
data->state = BCM203X_LOAD_FIRMWARE;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
case BCM203X_LOAD_FIRMWARE:
|
||||
if (data->fw_sent == data->fw_size) {
|
||||
usb_fill_int_urb(urb, udev, usb_rcvintpipe(udev, BCM203X_IN_EP),
|
||||
|
Reference in New Issue
Block a user