Re: [PATCH] drivers/base: redundant return value settings in try_to_bring_up_master()

From: Liu Ying
Date: Sun Jul 13 2014 - 22:14:51 EST


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@xxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/