diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-02 08:26:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-17 01:21:32 +0200 |
commit | 6e99897ba0cdeb83e91738683000aeed6a079cae (patch) | |
tree | 098c8034dc0fc648781fbbdb30a429793926b51c /drivers/spi/spi-pl022.c | |
parent | Linux 3.12-rc1 (diff) | |
download | linux-6e99897ba0cdeb83e91738683000aeed6a079cae.tar.xz linux-6e99897ba0cdeb83e91738683000aeed6a079cae.zip |
spi: pl022: Remove redundant break
'break' immediately after return has no effect.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r-- | drivers/spi/spi-pl022.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c index 9c511a954d21..1ff2d8e78f51 100644 --- a/drivers/spi/spi-pl022.c +++ b/drivers/spi/spi-pl022.c @@ -1619,7 +1619,6 @@ static int verify_controller_parameters(struct pl022 *pl022, dev_err(&pl022->adev->dev, "RX FIFO Trigger Level is configured incorrectly\n"); return -EINVAL; - break; } switch (chip_info->tx_lev_trig) { case SSP_TX_1_OR_MORE_EMPTY_LOC: @@ -1645,7 +1644,6 @@ static int verify_controller_parameters(struct pl022 *pl022, dev_err(&pl022->adev->dev, "TX FIFO Trigger Level is configured incorrectly\n"); return -EINVAL; - break; } if (chip_info->iface == SSP_INTERFACE_NATIONAL_MICROWIRE) { if ((chip_info->ctrl_len < SSP_BITS_4) |