]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
scan: fix fall through warning
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Aug 2018 08:56:10 +0000 (10:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 Aug 2018 08:56:16 +0000 (10:56 +0200)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c

diff --git a/scan.c b/scan.c
index f686abb189199f07112bd32b30cd5d79397e627c..a621813a590d4812886676cfed0887e8806cc8e5 100644 (file)
--- a/scan.c
+++ b/scan.c
@@ -1853,8 +1853,7 @@ static inline void print_p2p(const uint8_t type, uint8_t len,
                                printf("\t * malformed device info\n");
                                break;
                        }
-
-                       /* fall through for now */
+                       /* fall through */
                case 0x00: /* status */
                case 0x01: /* minor reason */
                case 0x03: /* device ID */