Browse Source

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 9 years ago
parent
commit
9d98fa7129
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/base/regmap/regmap-mmio.c

+ 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;
 		break;
 #endif
-		break;
 	default:
 		return ERR_PTR(-EINVAL);
 	}