Re: [PATCH 1/2] libceph: Remove unneeded stddef.h include

From: Ilya Dryomov
Date: Mon Feb 06 2017 - 05:19:18 EST


On Sun, Feb 5, 2017 at 8:07 AM, Stafford Horne <shorne@xxxxxxxxx> wrote:
> This was causing a build failure for openrisc when using musl and
> gcc 5.4.0 since the file is not available in the toolchain.
>
> It doesnt seem this is needed and removing it does not cause any build
> warnings for me.
>
> Signed-off-by: Stafford Horne <shorne@xxxxxxxxx>
> ---
> net/ceph/snapshot.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/net/ceph/snapshot.c b/net/ceph/snapshot.c
> index 154683f..705414e 100644
> --- a/net/ceph/snapshot.c
> +++ b/net/ceph/snapshot.c
> @@ -18,8 +18,6 @@
> * 02110-1301, USA.
> */
>
> -#include <stddef.h>
> -
> #include <linux/types.h>
> #include <linux/export.h>
> #include <linux/ceph/libceph.h>

Applied.

Thanks,

Ilya