diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-08 22:26:50 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-07-10 19:09:42 +0200 |
commit | a3b4cbfc078d9b97b500d78f225c6b53c43ff745 (patch) | |
tree | ca152cef8903a4a6921ffb5a3105b43ceeb50d3b /drivers/bluetooth/hci_ll.c | |
parent | Bluetooth: RFCOMM: Use fallthrough pseudo-keyword (diff) | |
download | linux-a3b4cbfc078d9b97b500d78f225c6b53c43ff745.tar.xz linux-a3b4cbfc078d9b97b500d78f225c6b53c43ff745.zip |
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/hci_ll.c')
-rw-r--r-- | drivers/bluetooth/hci_ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c index d9a4c6c691e0..8bfe024d1fcd 100644 --- a/drivers/bluetooth/hci_ll.c +++ b/drivers/bluetooth/hci_ll.c @@ -219,7 +219,7 @@ static void ll_device_want_to_wakeup(struct hci_uart *hu) * perfectly safe to always send one. */ BT_DBG("dual wake-up-indication"); - /* fall through */ + fallthrough; case HCILL_ASLEEP: /* acknowledge device wake up */ if (send_hcill_cmd(HCILL_WAKE_UP_ACK, hu) < 0) { |