diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-07-06 16:34:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-07 10:41:35 +0100 |
commit | 2130be57d5eb01bcd440495cdb5455cf40468f0c (patch) | |
tree | 82fbf1d94ff21b0664bd8107b6a73b2d22cd5268 /tools/perf/scripts/python/syscall-counts.py | |
parent | b6d5527389f34ef3c07fcbd7902b79bc39936ecf (diff) |
spi: spi-sun6i: sun6i_spi_transfer_one(): remove not needed masking of transfer length
In sun6i_spi_transfer_one() the driver ensures that the length of the transfer
is smaller or equal to SUN6I_MAX_XFER_SIZE. This means the masking of the
length to SUN6I_MAX_XFER_SIZE can be skipped when writing the transfer length
into the registers.
This patch removes the useless masking of the transfer length to
SUN6I_MAX_XFER_SIZE.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20200706143443.9855-5-mkl@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions