[PATCH v2 4/6] net/dpaa2: fix the curly braces mismatch problem
Weiguo Li
liwg06 at foxmail.com
Mon Feb 7 13:36:59 CET 2022
Remove the incomplete cplusplus guard in internal headers.
Fixes: 72ec7a678e70 ("net/dpaa2: add soft parser driver")
Cc: sunil.kori at nxp.com
Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
---
drivers/net/dpaa2/dpaa2_sparser.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/net/dpaa2/dpaa2_sparser.h b/drivers/net/dpaa2/dpaa2_sparser.h
index 365b8062a9..ed0897928b 100644
--- a/drivers/net/dpaa2/dpaa2_sparser.h
+++ b/drivers/net/dpaa2/dpaa2_sparser.h
@@ -13,10 +13,6 @@
#ifndef _DPAA2_SPARSER_H
#define _DPAA2_SPARSER_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#define WRIOP_SS_INITIALIZER(priv) \
do { \
/* Base offset of parse profile memory in WRIOP */ \
--
2.25.1
More information about the dev
mailing list