Patchwork target-arm: Remove stray #include from middle of neon_helper.c

login
register
mail settings
Submitter Peter Maydell
Date Feb. 10, 2011, 3:47 p.m.
Message ID <1297352834-11941-1-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/82661/
State New
Headers show

Comments

Peter Maydell - Feb. 10, 2011, 3:47 p.m.
Remove a stray #include <stdio.h> from the middle of neon_helper.c:
it was harmless but pointless since we include stdio.h at the top
of the file anyway.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 target-arm/neon_helper.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Aurelien Jarno - Feb. 10, 2011, 8:21 p.m.
On Thu, Feb 10, 2011 at 03:47:14PM +0000, Peter Maydell wrote:
> Remove a stray #include <stdio.h> from the middle of neon_helper.c:
> it was harmless but pointless since we include stdio.h at the top
> of the file anyway.
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  target-arm/neon_helper.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

Thanks, applied.

> diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c
> index 61890dd..dc09968 100644
> --- a/target-arm/neon_helper.c
> +++ b/target-arm/neon_helper.c
> @@ -1484,7 +1484,6 @@ uint64_t HELPER(neon_negl_u16)(uint64_t x)
>      return result;
>  }
>  
> -#include <stdio.h>
>  uint64_t HELPER(neon_negl_u32)(uint64_t x)
>  {
>      uint32_t low = -x;
> -- 
> 1.7.1
> 
> 
>

Patch

diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c
index 61890dd..dc09968 100644
--- a/target-arm/neon_helper.c
+++ b/target-arm/neon_helper.c
@@ -1484,7 +1484,6 @@  uint64_t HELPER(neon_negl_u16)(uint64_t x)
     return result;
 }
 
-#include <stdio.h>
 uint64_t HELPER(neon_negl_u32)(uint64_t x)
 {
     uint32_t low = -x;