diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-07-07 14:50:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-10 08:55:18 +0200 |
commit | 8b84724e9e8445f26fb2f7ccb86f8109ba2427c6 (patch) | |
tree | 0cc922cbf9fd06e450aa0a016c4d8bd32f1ee0a1 /drivers/usb/host/ehci-q.c | |
parent | e288fc982820e1bf397c873b0cf0cbf876829b7f (diff) | |
download | linux-8b84724e9e8445f26fb2f7ccb86f8109ba2427c6.tar.gz linux-8b84724e9e8445f26fb2f7ccb86f8109ba2427c6.tar.bz2 linux-8b84724e9e8445f26fb2f7ccb86f8109ba2427c6.zip |
usb: host: 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>
Link: https://lore.kernel.org/r/20200707195023.GA3792@embeddedor
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-q.c')
-rw-r--r-- | drivers/usb/host/ehci-q.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 8a5c9b3ebe1e..a826715ae9bd 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c @@ -874,7 +874,7 @@ qh_make ( switch (urb->dev->speed) { case USB_SPEED_LOW: info1 |= QH_LOW_SPEED; - /* FALL THROUGH */ + fallthrough; case USB_SPEED_FULL: /* EPS 0 means "full" */ |