misc: mei: remove unneeded break
authorTom Rix <trix@redhat.com>
Mon, 19 Oct 2020 19:18:08 +0000 (12:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Nov 2020 09:09:06 +0000 (10:09 +0100)
A break is not needed if it is preceded by a return

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20201019191808.9891-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hbm.c

index a97eb5d..686e8b6 100644 (file)
@@ -1377,7 +1377,6 @@ int mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
                dev_info(dev->dev, "hbm: stop response: resetting.\n");
                /* force the reset */
                return -EPROTO;
-               break;
 
        case CLIENT_DISCONNECT_REQ_CMD:
                dev_dbg(dev->dev, "hbm: disconnect request: message received\n");