summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-07 23:10:27 +0300
committerMark Brown <broonie@kernel.org>2024-05-08 11:39:46 +0900
commit8cc3bad9d9d6a4735a8c8998c6daa1ef31cbf708 (patch)
tree64b5f244ba0c4dd6edc84ce9701857a5ecc28f17 /Documentation/devicetree/bindings
parenteab80a2ee46bb362e2c4434cf0da96d3a6bda544 (diff)
spi: Remove unneded check for orig_nents
Both dma_unmap_sgtable() and sg_free_table() in spi_unmap_buf_attrs() have checks for orig_nents against 0. No need to duplicate this. All the same applies to other DMA mapping API calls. Also note, there is no other user in the kernel that does this kind of checks. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240507201028.564630-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions