[ltt-dev] [UST PATCH 3/3] Remove unuse header disable.h

David Goulet david.goulet at polymtl.ca
Fri Nov 26 14:28:08 EST 2010


Signed-off-by: David Goulet <david.goulet at polymtl.ca>
---
 include/Makefile.am           |    1 -
 include/ust/kcompat/disable.h |   21 ---------------------
 include/ust/kcompat/kcompat.h |    2 --
 3 files changed, 0 insertions(+), 24 deletions(-)
 delete mode 100644 include/ust/kcompat/disable.h

diff --git a/include/Makefile.am b/include/Makefile.am
index 5697e43..0ace775 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -13,7 +13,6 @@ nobase_include_HEADERS = \
 	ust/type-serializer.h \
 	ust/kcompat/kcompat.h \
 	ust/kcompat/compiler.h \
-	ust/kcompat/disable.h \
 	ust/kcompat/jhash.h \
 	ust/kcompat/simple.h \
 	ust/kcompat/types.h \
diff --git a/include/ust/kcompat/disable.h b/include/ust/kcompat/disable.h
deleted file mode 100644
index 36d36f5..0000000
--- a/include/ust/kcompat/disable.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * disable.h
- *
- * Copyright (C) 2009 - Pierre-Marc Fournier (pierre-marc dot fournier at polymtl dot ca)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
- */
-
-#define prefetch(a) ({ do {} while(0); })
diff --git a/include/ust/kcompat/kcompat.h b/include/ust/kcompat/kcompat.h
index 895144b..7903650 100644
--- a/include/ust/kcompat/kcompat.h
+++ b/include/ust/kcompat/kcompat.h
@@ -61,6 +61,4 @@
 #include <ust/kcompat/types.h>
 #include <ust/kcompat/jhash.h>
 
-#include <ust/kcompat/disable.h>
-
 #endif /* KCOMPAT_H */
-- 
1.7.3.2





More information about the lttng-dev mailing list