diff mbox series

[1/2] oslat: Remove redundant include

Message ID 20210707084849.304329-1-nsaenzju@redhat.com
State New
Headers show
Series [1/2] oslat: Remove redundant include | expand

Commit Message

Nicolas Saenz Julienne July 7, 2021, 8:48 a.m. UTC
inttypes.h is already included above.

Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>
---
 src/oslat/oslat.c | 1 -
 1 file changed, 1 deletion(-)

Comments

John Kacur July 9, 2021, 6:08 p.m. UTC | #1
On Wed, 7 Jul 2021, Nicolas Saenz Julienne wrote:

> inttypes.h is already included above.

> 

> Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>

> ---

>  src/oslat/oslat.c | 1 -

>  1 file changed, 1 deletion(-)

> 

> diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c

> index 6108fed..1cba6fc 100644

> --- a/src/oslat/oslat.c

> +++ b/src/oslat/oslat.c

> @@ -29,7 +29,6 @@

>  #include <numa.h>

>  #include <math.h>

>  #include <limits.h>

> -#include <inttypes.h>

>  

>  #include <sys/prctl.h>

>  #include <sys/stat.h>

> -- 

> 2.31.1

> 

> 

Signed-off-by: John Kacur <jkacur@redhat.com>
John Kacur July 9, 2021, 6:08 p.m. UTC | #2
On Wed, 7 Jul 2021, Peter Xu wrote:

> On Wed, Jul 07, 2021 at 10:48:48AM +0200, Nicolas Saenz Julienne wrote:

> > inttypes.h is already included above.

> > 

> > Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>

> 

> Reviewed-by: Peter Xu <peterx@redhat.com>

> 

> -- 

> Peter Xu

> 

> 

Thanks, added
diff mbox series

Patch

diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c
index 6108fed..1cba6fc 100644
--- a/src/oslat/oslat.c
+++ b/src/oslat/oslat.c
@@ -29,7 +29,6 @@ 
 #include <numa.h>
 #include <math.h>
 #include <limits.h>
-#include <inttypes.h>
 
 #include <sys/prctl.h>
 #include <sys/stat.h>