[v2,2/6] common/mlx5: fix the curly braces mismatch problem
Checks
Commit Message
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(-)
@@ -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,
@@ -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"