diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2019-04-13 20:24:12 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-02 10:37:50 +0900 |
commit | 4d1841d64535d60a1378d847cf4cd3f340ea28c2 (patch) | |
tree | cafbb4d20d0e5f0380330eae79e3cbb19fb13f6e /drivers/spi/spi.c | |
parent | 76d2f7ee68b669c5825435bad204f3d9b4b55d18 (diff) |
spi: Remove warning in spi_split_transfers_maxsize()
Don't warn about splitting transfers, the info is available in the
statistics if needed.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
-rw-r--r-- | drivers/spi/spi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 86a31340ad03..3c6c6101b611 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -2788,11 +2788,6 @@ static int __spi_split_transfer_maxsize(struct spi_controller *ctlr, size_t offset; size_t count, i; - /* warn once about this fact that we are splitting a transfer */ - dev_warn_once(&msg->spi->dev, - "spi_transfer of length %i exceed max length of %zu - needed to split transfers\n", - xfer->len, maxsize); - /* calculate how many we have to replace */ count = DIV_ROUND_UP(xfer->len, maxsize); |