MLK-20189-6: ASoC: fsl: Skip checking for string section type
authorDaniel Baluta <daniel.baluta@nxp.com>
Fri, 9 Nov 2018 09:35:46 +0000 (11:35 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Thu, 18 Apr 2019 00:00:38 +0000 (03:00 +0300)
commit5d94e05503a029a77f815566186ee0826451ac0c
tree48593e36321e0dcdae5f25fafa0b7ae36d90fbcc
parenteaa16fd45e69c5d2a43db71cf45df6c01d2d1326
MLK-20189-6: ASoC: fsl: Skip checking for string section type

e_shstrndx already contains the section header index, so
shdr->sh_type will always be SHT_STRTAB.

Remove this redundant check and make Coverity happy.

Fixes: CID3901026
Reviewed-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
(cherry picked from commit 93a9e535f4d59c5e02cdfacca5ff59fd18193aec)
sound/soc/fsl/fsl_dsp.c