staging: dpaa2-ethsw: fix switch/case fallthrough warning
authorMarian Posteuca <posteuca@mutex.one>
Mon, 20 Jul 2020 06:42:05 +0000 (09:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 14:52:47 +0000 (16:52 +0200)
Fix the fallthrough warning that is reported by checkpatch.

Signed-off-by: Marian Posteuca <posteuca@mutex.one>
Link: https://lore.kernel.org/r/20200720064205.10323-1-posteuca@mutex.one
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c

index 2fb75a7..db10fd1 100644 (file)
@@ -1362,7 +1362,7 @@ static int port_switchdev_blocking_event(struct notifier_block *unused,
                return NOTIFY_DONE;
 
        switch (event) {
-       case SWITCHDEV_PORT_OBJ_ADD: /* fall through */
+       case SWITCHDEV_PORT_OBJ_ADD:
        case SWITCHDEV_PORT_OBJ_DEL:
                return ethsw_switchdev_port_obj_event(event, dev, ptr);
        case SWITCHDEV_PORT_ATTR_SET: