From: Nicolas Saenz Julienne Date: Wed, 27 May 2020 11:53:13 +0000 (+0200) Subject: staging: vchi: Get rid of C++ guards X-Git-Tag: v5.15~3664^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d24d19e35f9bddd1fd01d4fb5940ae1efaab1bd;p=platform%2Fkernel%2Flinux-starfive.git staging: vchi: Get rid of C++ guards This is an include only used by the Linux kernel, so no need to worry about C++ compatibility. Signed-off-by: Nicolas Saenz Julienne Link: https://lore.kernel.org/r/20200527115400.31391-9-nsaenzjulienne@suse.de Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vc04_services/interface/vchi/vchi.h b/drivers/staging/vc04_services/interface/vchi/vchi.h index 2e41b5f..1a981e9 100644 --- a/drivers/staging/vc04_services/interface/vchi/vchi.h +++ b/drivers/staging/vc04_services/interface/vchi/vchi.h @@ -60,10 +60,6 @@ struct vchi_service_handle; * (local / remote) *****************************************************************************/ -#ifdef __cplusplus -extern "C" { -#endif - // Routine used to initialise the vchi on both local + remote connections extern int32_t vchi_initialise(struct vchi_instance_handle **instance_handle); @@ -158,10 +154,6 @@ extern int32_t vchi_bulk_queue_transmit(struct vchi_service_handle *handle, * Configuration plumbing *****************************************************************************/ -#ifdef __cplusplus -} -#endif - #endif /* VCHI_H_ */ /****************************** End of file **********************************/