summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-hub.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2020-07-07 14:53:51 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-10 08:55:18 +0200
commite288fc982820e1bf397c873b0cf0cbf876829b7f (patch)
tree431db43a262123aa301ccff2df6b8d7c6dfa1f57 /drivers/usb/host/ohci-hub.c
parent0d9b6d49fe39bd397f1d5913b1bfb8c4fdef0255 (diff)
downloadlinux-stable-e288fc982820e1bf397c873b0cf0cbf876829b7f.tar.gz
linux-stable-e288fc982820e1bf397c873b0cf0cbf876829b7f.tar.bz2
linux-stable-e288fc982820e1bf397c873b0cf0cbf876829b7f.zip
USB: OHCI: 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/20200707195351.GA4061@embeddedor Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-hub.c')
-rw-r--r--drivers/usb/host/ohci-hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-hub.c b/drivers/usb/host/ohci-hub.c
index 634f3c7bf774..44504c1751e0 100644
--- a/drivers/usb/host/ohci-hub.c
+++ b/drivers/usb/host/ohci-hub.c
@@ -58,7 +58,7 @@ __acquires(ohci->lock)
ohci->hc_control |= OHCI_USB_RESET;
ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
(void) ohci_readl (ohci, &ohci->regs->control);
- /* FALL THROUGH */
+ fallthrough;
case OHCI_USB_RESET:
status = -EBUSY;
ohci_dbg (ohci, "needs reinit!\n");