CC: kbuild-...@lists.01.org TO: Peter Ujfalusi <peter.ujfal...@ti.com>
From: kernel test robot <l...@intel.com> sound/soc/ti/omap-mcasp.c:630:2-9: line 630 is redundant because platform_get_irq() already prints an error Remove dev_err() messages after platform_get_irq*() failures Generated by: scripts/coccinelle/api/platform_get_irq.cocci Fixes: c91a001a1b2f ("omap: mcasp: add omap-mcasp.* and add to Kconfig, Makefile") CC: Andrey Utkin <andrey_ut...@fastmail.com> Reported-by: kernel test robot <l...@intel.com> Signed-off-by: kernel test robot <l...@intel.com> --- tree: https://github.com/omap-audio/linux-audio peter/linux-next-wip head: 616dbf432c14c411575f7d278d2215534464e632 commit: c91a001a1b2f93d4e3d72cd48efcd9a868a6407e [79/94] omap: mcasp: add omap-mcasp.* and add to Kconfig, Makefile :::::: branch date: 2 hours ago :::::: commit date: 2 hours ago Please take the patch only if it's a positive warning. Thanks! omap-mcasp.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/ti/omap-mcasp.c +++ b/sound/soc/ti/omap-mcasp.c @@ -627,7 +627,6 @@ static int asoc_mcasp_probe(struct platf mcasp->irq = platform_get_irq(pdev, 0); if (mcasp->irq < 0) { - dev_err(&pdev->dev, "invalid IRQ number\n"); return mcasp->irq; } _______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org