Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: most: Remove __cplusplus check in header files

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>

authored by

PrasannaKumar Muralidharan and committed by
Greg Kroah-Hartman
29efdd3d ff59f2a6

-24
-8
drivers/staging/most/hdm-dim2/dim2_errors.h
··· 15 15 #ifndef _MOST_DIM_ERRORS_H 16 16 #define _MOST_DIM_ERRORS_H 17 17 18 - #ifdef __cplusplus 19 - extern "C" { 20 - #endif 21 - 22 18 /** 23 19 * MOST DIM errors. 24 20 */ ··· 53 57 54 58 DIM_ERR_OVERFLOW, 55 59 }; 56 - 57 - #ifdef __cplusplus 58 - } 59 - #endif 60 60 61 61 #endif /* _MOST_DIM_ERRORS_H */
-8
drivers/staging/most/hdm-dim2/dim2_hal.h
··· 18 18 #include <linux/types.h> 19 19 #include "dim2_reg.h" 20 20 21 - #ifdef __cplusplus 22 - extern "C" { 23 - #endif 24 - 25 21 /* 26 22 * The values below are specified in the hardware specification. 27 23 * So, they should not be changed until the hardware specification changes. ··· 103 107 void dimcb_io_write(u32 __iomem *ptr32, u32 value); 104 108 105 109 void dimcb_on_error(u8 error_id, const char *error_message); 106 - 107 - #ifdef __cplusplus 108 - } 109 - #endif 110 110 111 111 #endif /* _DIM2_HAL_H */
-8
drivers/staging/most/hdm-dim2/dim2_reg.h
··· 17 17 18 18 #include <linux/types.h> 19 19 20 - #ifdef __cplusplus 21 - extern "C" { 22 - #endif 23 - 24 20 struct dim2_regs { 25 21 /* 0x00 */ u32 MLBC0; 26 22 /* 0x01 */ u32 rsvd0[1]; ··· 161 165 CAT_CL_SHIFT = 0, 162 166 CAT_CL_MASK = DIM2_MASK(6) 163 167 }; 164 - 165 - #ifdef __cplusplus 166 - } 167 - #endif 168 168 169 169 #endif /* DIM2_OS62420_H */