Skip to content

Commit 8dda212

Browse files
GustavoARSilvagregkh
authored andcommitted
staging: rtl8712: Use fallthrough pseudo-keyword
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/20200727185838.GA29595@embeddedor Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 29ca39b commit 8dda212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8712/usb_ops_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static void r8712_usb_read_port_complete(struct urb *purb)
225225
padapter->driver_stopped = true;
226226
break;
227227
}
228-
/* Fall through. */
228+
fallthrough;
229229
case -EPROTO:
230230
r8712_read_port(padapter, precvpriv->ff_hwaddr, 0,
231231
(unsigned char *)precvbuf);

0 commit comments

Comments
 (0)