Skip to content

Commit 49e86ae

Browse files
GustavoARSilvagregkh
authored andcommitted
staging: rtl8192e: 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/20200727191006.GA30474@embeddedor Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b031d10 commit 49e86ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8192e/rtllib_wx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee,
680680
switch (mlme->cmd) {
681681
case IW_MLME_DEAUTH:
682682
deauth = true;
683-
/* fall through */
683+
fallthrough;
684684
case IW_MLME_DISASSOC:
685685
if (deauth)
686686
netdev_info(ieee->dev, "disauth packet !\n");

0 commit comments

Comments
 (0)