summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-11-14 16:37:05 -0800
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2018-11-14 18:25:56 -0800
commitf18f1152942bbdc63840fc8521f995ab4b185ffa (patch)
tree680c660d825f6b9aa0ff2e433d6c274b5d673971
parent074bca06d5d790fa01988d7890f13dc7f7e8cd4a (diff)
IntelUndiPkg/XGigUndiDxe: drop locally defined ASSERT() macro
Drop the locally defined ASSERT() macro and include DebugLib instead. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
-rw-r--r--IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h b/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h
index e324b0539..aa3b3543c 100644
--- a/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h
+++ b/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h
@@ -41,6 +41,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
+#include <Library/DebugLib.h>
#include <Library/PrintLib.h>
#define CHAR CHAR8
@@ -219,26 +220,6 @@ IxgbeReverseDword (
typedef BOOLEAN boolean_t;
-#if 0
-#undef ASSERT
-#define ASSERT(x)
-#define DEBUGOUT Aprint
-#define DEBUGOUT1 Aprint
-#define DEBUGOUT2 Aprint
-#define DEBUGOUT3 Aprint
-#define DEBUGOUT6 Aprint
-#define DEBUGOUT7 Aprint
-#else /* 1 */
-#undef ASSERT
-
-/** ASSERT macro left blank
-
- @param[in] x Assert condition
-
- @return None
-**/
-#define ASSERT(x)
-
/** Macro wrapper for shared code DEBUGOUT statement,
blank here
@@ -311,7 +292,6 @@ typedef BOOLEAN boolean_t;
@retval None
**/
#define DEBUGOUT7(s, a, b, c, d, e, f, g)
-#endif /* 0 */
/** Macro wrapper for shared code EWARN macro,
blank here