lkml.org 
[lkml]   [2014]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] drivers/base: redundant return value settings in try_to_bring_up_master()
On 07/12/2014 08:58 AM, Greg KH wrote:
> On Tue, Jun 17, 2014 at 04:25:31PM +0800, Liu Ying wrote:
>> Remove redundant return value settings 'ret = 0;' in the function
>> try_to_bring_up_master(), since it has already been set to zero.
>>
>> Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
>> ---
>> drivers/base/component.c | 2 --
>> 1 file changed, 2 deletions(-)
>
> This patch no longer applies to my tree, are you sure it's still needed?

It is no longer needed, because Russell's patch[1] on your tree changed
this piece of code.

[1]
https://git.kernel.org/cgit/linux/kernel/git/gregkh/driver-core.git/commit/drivers/base/component.c?h=driver-core-next&id=c334940ea26cb58f5514dcbb225a3f397b2684ad

Regards,

Liu Ying

>
> If so, please refresh and resend.
>
> thanks,
>
> greg k-h
>


\
 
 \ /
  Last update: 2014-07-14 05:01    [W:0.047 / U:17.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site