[PATCH 06/21] staging: wilc1000: remove the warnings on unnecessary braces

tony.cho tony.cho at atmel.com
Thu Jul 30 01:08:07 UTC 2015



On 2015년 07월 30일 05:50, Greg KH wrote:
> On Tue, Jul 28, 2015 at 05:47:25PM +0900, Tony Cho wrote:
>> This patch removes the warnings reported by checkpatch.pl on {} not
>> necessary for the single statement blocks.
>>
>> Signed-off-by: Tony Cho <tony.cho at atmel.com>
>> Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>
>> ---
>>   drivers/staging/wilc1000/wilc_sdio.c | 28 ++++++++++------------------
>>   1 file changed, 10 insertions(+), 18 deletions(-)
>>
>> diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c
>> index 6e865d4..967df95 100644
>> --- a/drivers/staging/wilc1000/wilc_sdio.c
>> +++ b/drivers/staging/wilc1000/wilc_sdio.c
>> @@ -106,6 +106,7 @@ static int sdio_set_func0_csa_address_byte0(uint32_t adr)
>>   _fail_:
>>   	return 0;
>>   }
>> +
> That's not what this change does :(
>
> I'll let this go, but be more careful next time please...
>
> greg k-h

I will take more careful next time as you advise.

Thanks for your advice,
Tony.


-- 
Cho, Tony
Manager, Staff Engineer | Connectivity System Software Team | Atmel Korea (Wireless solutions BU)
#409, Kins Tower, Jeongja-Dong, Bundang-Gu, Seongnam-Si, Gyeonggi-Do, 463-782, Korea
Phone:82 31 784 8400(Ext. 317); Mobile: 82 10 7232 1523
email: tony.cho at atmel.com



More information about the devel mailing list