Эх сурвалжийг харах

regmap: mmio: remove the useless code

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Xiubo Li 10 жил өмнө
parent
commit
9d98fa7129

+ 0 - 1
drivers/base/regmap/regmap-mmio.c

@@ -247,7 +247,6 @@ static struct regmap_mmio_context *regmap_mmio_gen_context(struct device *dev,
 		min_stride = 8;
 		min_stride = 8;
 		break;
 		break;
 #endif
 #endif
-		break;
 	default:
 	default:
 		return ERR_PTR(-EINVAL);
 		return ERR_PTR(-EINVAL);
 	}
 	}