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/bluecard_cs.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/bluecard_cs.c')
-rw-r--r-- | drivers/bluetooth/bluecard_cs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index cc6e56223656..36eabf61717f 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c @@ -295,7 +295,6 @@ static void bluecard_write_wakeup(struct bluecard_info *info) baud_reg = REG_CONTROL_BAUD_RATE_115200; break; case PKT_BAUD_RATE_57600: - /* Fall through... */ default: baud_reg = REG_CONTROL_BAUD_RATE_57600; break; @@ -585,7 +584,6 @@ static int bluecard_hci_set_baud_rate(struct hci_dev *hdev, int baud) hci_skb_pkt_type(skb) = PKT_BAUD_RATE_115200; break; case 57600: - /* Fall through... */ default: cmd[4] = 0x03; hci_skb_pkt_type(skb) = PKT_BAUD_RATE_57600; |