[PATCH v2 01/13] staging: iio: ad2s1200: Remove unneeded include

Jonathan Cameron jic23 at kernel.org
Sat Apr 21 16:45:25 UTC 2018


On Fri, 20 Apr 2018 21:28:32 +0200
David Veenstra <davidjulianveenstra at gmail.com> wrote:

> This patches removes unneeded slab.h header.
> 
> Signed-off-by: David Veenstra <davidjulianveenstra at gmail.com>
This one surprised me, but indeed there are no direct
users of any memory allocation in this file.

Applied to the togreg branch of iio.git and pushed out as
testing for the autobuilders to play with it.

Thanks,

Jonathan

> ---
> Changes in v2:
>   - Introduced in this version.
> 
> drivers/staging/iio/resolver/ad2s1200.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/resolver/ad2s1200.c b/drivers/staging/iio/resolver/ad2s1200.c
> index aa62c64e9bc4..5d7ed0034422 100644
> --- a/drivers/staging/iio/resolver/ad2s1200.c
> +++ b/drivers/staging/iio/resolver/ad2s1200.c
> @@ -13,7 +13,6 @@
>  #include <linux/mutex.h>
>  #include <linux/device.h>
>  #include <linux/spi/spi.h>
> -#include <linux/slab.h>
>  #include <linux/sysfs.h>
>  #include <linux/delay.h>
>  #include <linux/gpio.h>



More information about the devel mailing list