[PATCH 0/5] staging: iio: Remove unnecessary explicit comparisons
Daniel Baluta
daniel.baluta at gmail.com
Mon Oct 19 11:09:34 EEST 2015
On Mon, Oct 19, 2015 at 2:29 AM, Cristina Moraru
<cristina.moraru09 at gmail.com> wrote:
> Remove comparisons to 0 or NULL in order to provide efficiency.
> Done with coccinelle
> @replace@
> identifier e;
> @@
> (
> -e == 0
> + !e
> |
> -e != 0
> + e
> |
> -e == NULL
> + !e
> |
> -e != NULL
> + e
> )
>
> Cristina Moraru (5):
> staging: iio: Remove unnecessary explicit comparisons
> staging: iio: Remove unnecessary explicit comparisons
> staging: iio: Remove unnecessary explicit comparisons
> staging: iio: Remove unnecessary explicit comparisons
> staging: iio: Remove unnecessary explicit comparisons
So you have one patch per directory, that's good! Please
add also the directory name in the subject in order to have
different subjects for patches otherwise Greg will be confused.
e.g.
staging: iio: adc: Remove unnecessary explicit comparisons
thanks,
Daniel.
More information about the firefly
mailing list