[v2,2/6] common/mlx5: fix the curly braces mismatch problem

Message ID tencent_8D9150919A98269EF1D3CD081E1DA4EFE407@qq.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v2,1/6] bus/dpaa: fix the curly braces mismatch problem |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Weiguo Li Feb. 7, 2022, 12:36 p.m. UTC
  Remove the incomplete cplusplus guard in internal headers.

Fixes: 7525ebd8ebb0 ("common/mlx5: add glue functions on Windows")
Cc: talshn@nvidia.com

Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
 drivers/common/mlx5/windows/mlx5_win_defs.h | 4 ----
 drivers/common/mlx5/windows/mlx5_win_ext.h  | 4 ----
 2 files changed, 8 deletions(-)
  

Patch

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"