Skip to contentSkip to conversation

block: xen-blkback: remove unneeded break

PATCH New [email protected] 1 participant 1 message Oct 19, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: xen-blkback: remove unneeded break

From: Tom Rix <[email protected]>

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

---
 drivers/block/xen-blkback/blkback.c | 1 -
 1 file changed, 1 deletion(-)
drivers/block/xen-blkback/blkback.c +0 -1
index adfc9352351d..f769fbd1b4c4 100644
@@ -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. */
Signature · 1 line
2.18.1