[ofa-general] [PATCH] infiniband-diags/ibstat, smpdump: kill unused includes
Sasha Khapyorsky
sashak at voltaire.com
Sun Dec 21 07:45:20 PST 2008
Kill unused headers inclusion.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
infiniband-diags/src/ibstat.c | 13 -------------
infiniband-diags/src/smpdump.c | 11 -----------
2 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/infiniband-diags/src/ibstat.c b/infiniband-diags/src/ibstat.c
index 600a657..5d2113e 100644
--- a/infiniband-diags/src/ibstat.c
+++ b/infiniband-diags/src/ibstat.c
@@ -39,22 +39,9 @@
#include <inttypes.h>
#include <string.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <sys/ioctl.h>
-#include <unistd.h>
-#include <string.h>
#include <getopt.h>
-#include <endian.h>
-#include <byteswap.h>
-#include <sys/poll.h>
-#include <syslog.h>
#include <netinet/in.h>
#include <infiniband/common.h>
diff --git a/infiniband-diags/src/smpdump.c b/infiniband-diags/src/smpdump.c
index 209d7b1..e26b369 100644
--- a/infiniband-diags/src/smpdump.c
+++ b/infiniband-diags/src/smpdump.c
@@ -42,18 +42,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <sys/ioctl.h>
-#include <unistd.h>
#include <getopt.h>
-#include <endian.h>
-#include <byteswap.h>
-#include <sys/poll.h>
-#include <syslog.h>
#include <netinet/in.h>
#include <infiniband/common.h>
--
1.6.0.4.766.g6fc4a
More information about the general
mailing list