From 3cacda8ff061661e7fad2f7167d76b90fd3d53b3 Mon Sep 17 00:00:00 2001 From: Weiguo Li Date: Mon, 7 Feb 2022 20:36:57 +0800 Subject: [PATCH] common/mlx5: remove useless C++ include guard Remove the incomplete cplusplus guard in internal headers. Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows") Signed-off-by: Weiguo Li --- drivers/common/mlx5/windows/mlx5_win_defs.h | 4 ---- drivers/common/mlx5/windows/mlx5_win_ext.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h index 9f709ff30d..3554e4a7ff 100644 --- a/drivers/common/mlx5/windows/mlx5_win_defs.h +++ b/drivers/common/mlx5/windows/mlx5_win_defs.h @@ -5,10 +5,6 @@ #ifndef __MLX5_WIN_DEFS_H__ #define __MLX5_WIN_DEFS_H__ -#ifdef __cplusplus -extern "C" { -#endif - enum { MLX5_CQE_OWNER_MASK = 1, MLX5_CQE_REQ = 0, diff --git a/drivers/common/mlx5/windows/mlx5_win_ext.h b/drivers/common/mlx5/windows/mlx5_win_ext.h index b5d4484a13..6f69329a6f 100644 --- a/drivers/common/mlx5/windows/mlx5_win_ext.h +++ b/drivers/common/mlx5/windows/mlx5_win_ext.h @@ -5,10 +5,6 @@ #ifndef __MLX5_WIN_ETX_H__ #define __MLX5_WIN_ETX_H__ -#ifdef __cplusplus -extern "C" { -#endif - #include "mlx5_prm.h" #include "mlx5devx.h" -- 2.39.5