summaryrefslogtreecommitdiffstats
path: root/mm/usercopy.c
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2020-02-28 17:07:44 +0100
committerMark Brown <broonie@kernel.org>2020-02-28 19:17:18 +0100
commitc0e035ac56680e74b27fc218c07e70f4b9b8b7a5 (patch)
treeb37a87b58511ac815f2330a0699cedef933bf25f /mm/usercopy.c
parentspi: pxa2xx: drv_data can't be NULL in ->remove() (diff)
downloadlinux-c0e035ac56680e74b27fc218c07e70f4b9b8b7a5.tar.xz
linux-c0e035ac56680e74b27fc218c07e70f4b9b8b7a5.zip
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>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions