diff options
author | Andy Shevchenko <[email protected]> | 2023-08-24 19:22:09 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-09-11 01:31:51 +0100 |
commit | 764246c7feda01f46b1a243cfa15ad5627874ef9 (patch) | |
tree | 1ae5a79e6eeea21d25cf02bccb9837c7430f4b71 /tools/perf/util/trace-event-scripting.c | |
parent | 193a7f9e1a78f69c913bb26ca4500f6edad1e8ff (diff) |
spidev: Simplify SPI_IOC_RD_MODE* cases in spidev_ioctl()
The temporary variable tmp is not used outside of the
SPI_IOC_RD_MODE* cases, hence we can optimize its use.
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Lukas Wunner <[email protected]>
Reviewed-by: Alexander Sverdlin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions