Re: [PATCH v2] iio: imu: inv_mpu6050: Remove duplicate code between labels
From: Markus Elfring
Date: Mon Sep 02 2024 - 09:36:14 EST
> > 'flush_fifo' label performs same task as 'endsession' label
> > immediately after calling 'env_reset_fifo' function.
> > So i remove that duplication.
…
> Ok. This doesn't greatly affect readability and the code
> ends up a bit shorter.
How can you find such a change description acceptable?
> Applied
Please reconsider this positive feedback once more.
It temporarily looked too promising to apply a goto chain.
But the original control flow needs other development considerations
if you would like to reduce the explicit repetition of common actions.
Regards,
Markus