spi/omap2: fix uninitialized variable
authorGovindraj.R <govindraj.raja@ti.com>
Wed, 1 Jun 2011 06:01:24 +0000 (11:31 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 3 Jun 2011 20:57:07 +0000 (14:57 -0600)
commit8b20c8cb89b733f5a73fad1f7ad7cff8325e0034
treedd2b342ab99b18bd88cb29926ea66c70b68d69b1
parent1fa7b6a29c61358cc2ca6f64cef4aa0e1a7ca74c
spi/omap2: fix uninitialized variable

fixes below compilation warning.  The variable doesn't actual ever get
used uninitialized, but that's no reason to be sloppy.

drivers/spi/omap2_mcspi.c: In function 'omap2_mcspi_txrx_dma':
drivers/spi/omap2_mcspi.c:301: warning: 'elements' may be used uninitialized in this function

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
[grant.likely: amended description]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/omap2_mcspi.c