ASoC: omap: mcbsp: Remove redundant checks for the st_data pointer
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 23 Feb 2012 13:40:55 +0000 (15:40 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:23 +0000 (13:34 +0000)
commit58db1dcde0dcf5143dc6a54017e4a72c25fb8db0
treec456619cc8bc003e18411d200bb1dc8b04b8cf82
parente2002ab35ff7f9111081824667ce331b2c33923c
ASoC: omap: mcbsp: Remove redundant checks for the st_data pointer

The parent functions of omap_st_start/stop also checks the validity of the
st_data pointer so we do not need to do it again inside of omap_st_start/stop

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/mcbsp.c