diff options
author | Jiapeng Chong | 2021-05-17 18:11:57 +0800 |
---|---|---|
committer | Jonathan Cameron | 2021-06-03 18:24:12 +0100 |
commit | e50f8e0495541e827e8c3d13118dc30feaee99fb (patch) | |
tree | da9ea3f10f50fea554725c0537449ce4b51ae398 /drivers/iommu | |
parent | af51ec8c9213ec502c3f5c9f5860dd98fceb3433 (diff) |
iio: buffer: Remove redundant assignment to in_loc
Variable in_loc is being assigned a value from a calculation
however the assignment is never read, so this redundant assignment
can be removed.
Clean up the following clang-analyzer warning:
drivers/iio/industrialio-buffer.c:929:3: warning: Value stored to
'in_loc' is never read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1621246317-62725-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions