]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: mmio: replace return 0 with break in switch statement
authorColin Ian King <colin.i.king@gmail.com>
Thu, 22 Sep 2022 08:04:45 +0000 (09:04 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 22 Sep 2022 11:33:18 +0000 (12:33 +0100)
commit8e059a9c48c73c232cf166328c32083cca085c14
tree7cf2c43b435bfc6cc6247a079bcd637f77e4aa3b
parent5c6db9cd537ef40ee948b25058004bdcab8ba6fa
regmap: mmio: replace return 0 with break in switch statement

Variable min_stride is assigned a value that is never read, fix this by
replacing the return 0 with a break statement. This also makes the case
statement consistent with the other cases in the switch statement.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20220922080445.818020-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-mmio.c