Re:Re: [PATCH 0/4] delete useless function return values & remove meaningless if(r) check code

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

 



From: "Christian König" <christian.koenig@xxxxxxx>
Date: 2021-06-21 00:59:27
To:  Bernard Zhao <bernard@xxxxxxxx>,Alex Deucher <alexander.deucher@xxxxxxx>,David Airlie <airlied@xxxxxxxx>,Daniel Vetter <daniel@xxxxxxxx>,amd-gfx@xxxxxxxxxxxxxxxxxxxxx,dri-devel@xxxxxxxxxxxxxxxxxxxxx,linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH 0/4] delete useless function return values & remove meaningless if(r) check code>Am 19.06.21 um 08:43 schrieb Bernard Zhao:
>> Function radeon_fence_driver_init always returns success,
>> the function type maybe coule be changed to void.
>> This patch series will first delete the check of the return
>> value of the function call radeon_fence_driver_init, then,
>> optimise the function declaration and function to void type.
>
>Please merge all of this into a single patch, I don't see any point 
>separating this.
>
>Christian.

Hi
Sure, i will resubmit one new ptach, thanks!
BR//Bernard

>>
>> Signed-off-by: Bernard Zhao <bernard@xxxxxxxx>
>>
>> Bernard Zhao (4):
>>    drm/radeon: remove meaningless if(r) check code
>>    drm/radeon: remove meaningless if(r) check code
>>    drm/radeon: remove meaningless if(r) check code
>>    drm/radeon: delete useless return values
>>
>>   drivers/gpu/drm/radeon/cik.c          | 4 +---
>>   drivers/gpu/drm/radeon/evergreen.c    | 4 +---
>>   drivers/gpu/drm/radeon/ni.c           | 4 +---
>>   drivers/gpu/drm/radeon/r100.c         | 4 +---
>>   drivers/gpu/drm/radeon/r300.c         | 4 +---
>>   drivers/gpu/drm/radeon/r420.c         | 5 +----
>>   drivers/gpu/drm/radeon/r520.c         | 4 +---
>>   drivers/gpu/drm/radeon/r600.c         | 4 +---
>>   drivers/gpu/drm/radeon/radeon.h       | 2 +-
>>   drivers/gpu/drm/radeon/radeon_fence.c | 5 +----
>>   drivers/gpu/drm/radeon/rs400.c        | 4 +---
>>   drivers/gpu/drm/radeon/rs600.c        | 4 +---
>>   drivers/gpu/drm/radeon/rs690.c        | 4 +---
>>   drivers/gpu/drm/radeon/rv515.c        | 4 +---
>>   drivers/gpu/drm/radeon/rv770.c        | 4 +---
>>   drivers/gpu/drm/radeon/si.c           | 4 +---
>>   16 files changed, 16 insertions(+), 48 deletions(-)
>>
>


_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux