drivers/sensor: lsm6dsv16x: fix unreachable code in decoder_decode()
Fix unreachable code in decoder_decode() as reported by Coverity scan. Fixes: CID 529878 Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
efdd2a8ff2
commit
5792a429c8
@ -660,8 +660,6 @@ static int lsm6dsv16x_decoder_decode(const uint8_t *buffer, struct sensor_chan_s
|
||||
|
||||
if (header->is_fifo) {
|
||||
return lsm6dsv16x_decode_fifo(buffer, chan_spec, fit, max_count, data_out);
|
||||
} else {
|
||||
return lsm6dsv16x_decode_sample(buffer, chan_spec, fit, max_count, data_out);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user