spi_mpc8xxx: Fix uninitialized variable
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 16:49:22 +0000 (20:49 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 12 Nov 2009 03:43:21 +0000 (21:43 -0600)
commit783058fd582a1d8afbbf1d4e9b7918614a4550ff
treefdc6baf1c2d6df1e70d3af448cd6fca12bdabad9
parent58c12bdc5d924e4bca60c2660df2a71be4953ac9
spi_mpc8xxx: Fix uninitialized variable

This patch fixes the following warning:

CC      drivers/spi/spi_mpc8xxx.o
  spi_mpc8xxx.c: In function 'of_mpc8xxx_spi_probe':
  spi_mpc8xxx.c:681: warning: 'ret' may be used uninitialized in this function

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/spi/spi_mpc8xxx.c