summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/adi-axi-dac.c
diff options
context:
space:
mode:
authorMatteo Martelli <matteomartelli3@gmail.com>2024-07-30 12:43:49 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-10 13:17:33 +0300
commit1e2ae3ce23b35bb8fa81624501b2f697b73afef3 (patch)
treec6000b285c5f8bde3b8ff6c52d1cf713a1068286 /drivers/iio/dac/adi-axi-dac.c
parent6f055df6f65944b155c35fa7f790ca749471f0b6 (diff)
downloadlinux-1e2ae3ce23b35bb8fa81624501b2f697b73afef3.tar.xz
iio: remove unneeded assignment in __iio_format_value
Trivial cleanup in __iio_format_value() for the IIO_VAL_FRACTIONAL case where tmp1 = vals[1] assignment is unneeded and irrelevant since tmp1 is immediately overwritten by the subsequent div_s64_rem() call. Signed-off-by: Matteo Martelli <matteomartelli3@gmail.com> Link: https://patch.msgid.link/20240730-iio-clean-fmt-value-v1-1-3e1c3deafc33@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/dac/adi-axi-dac.c')
0 files changed, 0 insertions, 0 deletions