mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
iio: pressure: abp2030pa: Remove unreachable return in abp2_read_raw()
In the IIO_CHAN_INFO_RAW case every arm of the inner switch on channel->type returns so this final return is never reached. Found by smatch: drivers/iio/pressure/abp2030pa.c:382 abp2_read_raw() warn: ignoring unreachable code. Assisted-by: Claude:claude-opus-5 Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com> Reviewed-by: Siratul Islam <siratul.islam@linux.dev> Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
This commit is contained in:
parent
b18d51935a
commit
d231462ae5
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue