commit | c0e035ac56680e74b27fc218c07e70f4b9b8b7a5 | [log] [tgz] |
---|---|---|
author | Tudor Ambarus <tudor.ambarus@microchip.com> | Fri Feb 28 16:07:44 2020 +0000 |
committer | Mark Brown <broonie@kernel.org> | Fri Feb 28 18:17:18 2020 +0000 |
tree | b37a87b58511ac815f2330a0699cedef933bf25f | |
parent | 3d24b2a470466aa901ba8354468fc1899259fd84 [diff] |
spi: spi-mem: Compute length only when needed When adjust_op_size is defined, len is never used. Move the len computation where it's actually used. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/20200228160735.1565047-1-tudor.ambarus@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>