Staging: most: Remove __cplusplus check in header files
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Wed, 23 Mar 2016 07:28:28 +0000 (12:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Remove unnecessary __cplusplus check in header files as it is not
required.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-dim2/dim2_errors.h
drivers/staging/most/hdm-dim2/dim2_hal.h
drivers/staging/most/hdm-dim2/dim2_reg.h

index 5a713df1d1d4d6dafb9427f71c4bfd7aad31c72b..66343ba426c1f1ba4ceb97d6d2457325a292ac4c 100644 (file)
 #ifndef _MOST_DIM_ERRORS_H
 #define _MOST_DIM_ERRORS_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /**
  * MOST DIM errors.
  */
@@ -58,8 +54,4 @@ enum dim_errors_t {
        DIM_ERR_OVERFLOW,
 };
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* _MOST_DIM_ERRORS_H */
index 9f8e8802818164bd20f630bb57b5304e52b1c201..1c924e869de7bfe99935b04d61c0e5191093bc5a 100644 (file)
 #include <linux/types.h>
 #include "dim2_reg.h"
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /*
  * The values below are specified in the hardware specification.
  * So, they should not be changed until the hardware specification changes.
@@ -108,8 +104,4 @@ void dimcb_io_write(u32 __iomem *ptr32, u32 value);
 
 void dimcb_on_error(u8 error_id, const char *error_message);
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* _DIM2_HAL_H */
index bcf6a79f6744db6900ab3a65591bb54bcf248f5f..e0837b6b9ae10ed2f67919923918e840e56f1a77 100644 (file)
 
 #include <linux/types.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 struct dim2_regs {
        /* 0x00 */ u32 MLBC0;
        /* 0x01 */ u32 rsvd0[1];
@@ -166,8 +162,4 @@ enum {
        CAT_CL_MASK = DIM2_MASK(6)
 };
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif /* DIM2_OS62420_H */