[PATCH] drm/amd/display: Remove incorrect macro guard
Alex Hung
alex.hung at amd.com
Wed Mar 12 17:56:47 UTC 2025
On 3/12/25 02:11, Christian König wrote:
> 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 at amd.com>
>> ---
>> 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 at amd.com>.
There are no closing one at the end of the file. Thanks.
>
> Regards,
> Christian.
>
>>
>> /* SPL interfaces */
>>
>
More information about the dri-devel
mailing list