diff options
author | Manish Narani <manish.narani@xilinx.com> | 2018-07-18 14:12:09 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-07-23 21:18:11 +0300 |
commit | c344a327baefc372b7f4b7d0c17ac8b417ceaf94 (patch) | |
tree | d3d125d449e35f9c34c2b987bb329638e2a09d95 /drivers/iio/chemical | |
parent | 39e27533cdb4affdec79a89308ab9133a6e0e5c7 (diff) | |
download | linux-c344a327baefc372b7f4b7d0c17ac8b417ceaf94.tar.xz |
iio: adc: xilinx: Remove dead code from xadc_zynq_setup
This patch removes dead code from xadc_zynq_setup. The condition
"if (tck_rate > XADC_ZYNQ_TCK_RATE_MAX)" cannot be true at any point of
time. There is also an incompatible parameter used in the code.
This patch fixes the same reported by coverity.
Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/chemical')
0 files changed, 0 insertions, 0 deletions