diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-08 23:26:50 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-07-10 20:09:42 +0300 |
commit | a3b4cbfc078d9b97b500d78f225c6b53c43ff745 (patch) | |
tree | ca152cef8903a4a6921ffb5a3105b43ceeb50d3b /drivers/bluetooth/bcm203x.c | |
parent | 710a9194610ace9db8ea9ac44677ed69602b1ad9 (diff) | |
download | linux-a3b4cbfc078d9b97b500d78f225c6b53c43ff745.tar.xz |
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>
Diffstat (limited to 'drivers/bluetooth/bcm203x.c')
-rw-r--r-- | drivers/bluetooth/bcm203x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index 3b176257b993..e667933c3d70 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c @@ -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), |