On Wed, 14 Mar 2012 18:37:15 +0100 (CET), Guennadi Liakhovetski 
<[email protected]> wrote:
> The status variable is guaranteed to be 0 at that location anyway.
> 
> Signed-off-by: Guennadi Liakhovetski <[email protected]>

Applied, thanks.

g.

> ---
>  drivers/spi/spi.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
> index b2ccdea..bce1a55 100644
> --- a/drivers/spi/spi.c
> +++ b/drivers/spi/spi.c
> @@ -627,8 +627,6 @@ int spi_register_master(struct spi_master *master)
>               spi_match_master_to_boardinfo(master, &bi->board_info);
>       mutex_unlock(&board_lock);
>  
> -     status = 0;
> -
>       /* Register devices from the device tree */
>       of_register_spi_devices(master);
>  done:
> -- 
> 1.7.2.5
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> spi-devel-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spi-devel-general

-- 
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies,Ltd.

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to