summaryrefslogtreecommitdiff
path: root/sound/soc/ux500/mop500.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-03-27 00:59:25 +0300
committerMark Brown <broonie@kernel.org>2021-03-31 20:03:26 +0300
commit3d37b27fffb311c521d61144e57ea4d40e31ab9b (patch)
tree47bcac56a70b5f7c794be70970d7a041701e2285 /sound/soc/ux500/mop500.c
parent248d4dc9c3b8ced2cb274581d1c306e7ec617aec (diff)
downloadlinux-3d37b27fffb311c521d61144e57ea4d40e31ab9b.tar.xz
ASoC: ti: omap-mcsp: remove duplicate test
cppcheck warning: sound/soc/ti/omap-mcbsp.c:379:11: style: The if condition is the same as the previous if condition [duplicateCondition] if (mcbsp->irq) { ^ sound/soc/ti/omap-mcbsp.c:376:11: note: First condition if (mcbsp->irq) ^ sound/soc/ti/omap-mcbsp.c:379:11: note: Second condition if (mcbsp->irq) { ^ Keeping two separate tests was probably intentional for clarity, but since this generates warnings we might as well make cppcheck happy so that we have fewer warnings. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com> Link: https://lore.kernel.org/r/20210326215927.936377-16-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/ux500/mop500.c')
0 files changed, 0 insertions, 0 deletions