staging: rtl8192e: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 12 Oct 2017 16:16:17 +0000 (11:16 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:44:39 +0000 (15:44 +0200)
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_wx.c

index f7eba01..03fbff0 100644 (file)
@@ -694,8 +694,7 @@ int rtllib_wx_set_mlme(struct rtllib_device *ieee,
        switch (mlme->cmd) {
        case IW_MLME_DEAUTH:
                deauth = true;
-               /* leave break out intentionly */
-
+               /* fall through */
        case IW_MLME_DISASSOC:
                if (deauth)
                        netdev_info(ieee->dev, "disauth packet !\n");