ASoC: wm_adsp: Remove redundant NULL check in wm_adsp_buffer_free
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 2 Apr 2019 12:49:15 +0000 (13:49 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:04:14 +0000 (11:04 +0700)
commit26ffa016a3c1b34fbfcc8368edb315f2829504ae
tree34d893d83b30f9e80ff01758660f5a62fc4e04e8
parent7742a5b418c91b1f27a08ebf90cb662cf4c06604
ASoC: wm_adsp: Remove redundant NULL check in wm_adsp_buffer_free

wm_adsp_compr_detach is NULL aware so there is no need to check for NULL
before calling it, remove the redundant check.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c