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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
0d9b6d49fe
commit
e288fc9828
@@ -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");
|
||||
|
Reference in New Issue
Block a user