diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-12-08 03:17:15 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-12-11 20:16:35 +0100 |
commit | c95e0a719820054b28ef8687cc05b8deeb1c9106 (patch) | |
tree | 431db10e69a57e6dafcf1e0cb576d67775f31186 /block/bfq-wf2q.c | |
parent | iio: pressure: driver for Honeywell HSC/SSC series (diff) | |
download | linux-c95e0a719820054b28ef8687cc05b8deeb1c9106.tar.xz linux-c95e0a719820054b28ef8687cc05b8deeb1c9106.zip |
iio: light: isl76682: remove unreachable code
The function isl76682_read_raw cannot execute return -EINVAL up to 145
lines, delete the invalid code.
drivers/iio/light/isl76682.c:145 isl76682_read_raw() warn: ignoring unreachable code.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7698
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231208021715.32450-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'block/bfq-wf2q.c')
0 files changed, 0 insertions, 0 deletions