[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] block: xen-blkback: remove unneeded break



From: Tom Rix <trix@xxxxxxxxxx>

A break is not needed if it is preceded by a goto

Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
---
 drivers/block/xen-blkback/blkback.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/block/xen-blkback/blkback.c 
b/drivers/block/xen-blkback/blkback.c
index adfc9352351d..f769fbd1b4c4 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -1269,7 +1269,6 @@ static int dispatch_rw_block_io(struct xen_blkif_ring 
*ring,
        default:
                operation = 0; /* make gcc happy */
                goto fail_response;
-               break;
        }
 
        /* Check that the number of segments is sane. */
-- 
2.18.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.