Re: [PATCH] drm/amd/display: Remove incorrect macro guard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 11.03.25 um 18:10 schrieb Alex Hung:
> This macro guard "__cplusplus" is unnecessary and should not be there.
>
> Signed-off-by: Alex Hung <alex.hung@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h
> index 145961803a92..d621c42a237e 100644
> --- a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h
> +++ b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h
> @@ -17,9 +17,6 @@
>  #define SPL_EXPAND(a, b)          SPL_EXPAND2(a, b)
>  #define SPL_NAMESPACE(symbol)     SPL_EXPAND(SPL_PFX_, symbol)
>  
> -#ifdef __cplusplus
> -extern "C" {
> -#endif

Just double checking: Is there a closing "#ifdef.. } #endif" at the end of the file?

If yes then please remove that as well, if not feel free to add Reviewed-by: Christian König <christian.koenig@xxxxxxx>.

Regards,
Christian.

>  
>  /* SPL interfaces */
>  




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux