ASoC: dapm: Remove always true path source/sink checks
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 20 Oct 2014 17:36:34 +0000 (19:36 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Oct 2014 11:02:33 +0000 (12:02 +0100)
commit7ddd4cd5c31ccaf32febe52462f9fdc915893212
treef940ab801033520495deedb7063fa5f44d5375fd
parentcdc4508b4d1c609e3b0e4f23697edbee0d23b86e
ASoC: dapm: Remove always true path source/sink checks

A path has always a valid source and a valid sink otherwise we wouldn't add
it in the first place. Hence all tests that check if sink/source is non NULL
always evaluate to true and can be removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c