ASoC: Intel: mrfld - remove unnecessary check for pointer
authorVinod Koul <vinod.koul@intel.com>
Tue, 4 Nov 2014 10:55:15 +0000 (16:25 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 6 Nov 2014 12:36:17 +0000 (12:36 +0000)
commit29e1812d761183a6dd27c53d1259169e9e7ba4e2
treeec5b1cc29d37c5b89e3e98c74ecd9ed3e584705a
parent7b8ef67a0b1edb37957a2aa71a5c0bbbcf2694e9
ASoC: Intel: mrfld - remove unnecessary check for pointer

the 'platform' pointer in sst_map_modules_to_pipe() is deref in caller
function so we need to check for it in this function

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-atom-controls.c