ASoC: Intel: Skylake: remove bogus comparison of an array with NULL
authorAlan Cox <alan@linux.intel.com>
Mon, 22 Feb 2016 04:07:27 +0000 (09:37 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 22 Feb 2016 04:45:55 +0000 (13:45 +0900)
commitedd7ea2d5486c12978fdc71c6efd493cbabeea60
tree2f8a6d3b266bc9b7599f3989ac34f0f067485f3c
parent2303b32f54289267adb75437cdeba50be92221f5
ASoC: Intel: Skylake: remove bogus comparison of an array with NULL

dfw_ac->params is an array not a pointer. It will never be NULL. The check
on ac->max appears sufficient.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-topology.c