From: kbuild test robot <lkp@xxxxxxxxx> drivers/spi/spi-cadence-quadspi.c:1181:2-9: line 1181 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: 61e865acd941 ("spi: cadence-quadpsi: Add support for the Cadence QSPI controller") CC: Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@xxxxxxxxxxxxxxx> Signed-off-by: kbuild test robot <lkp@xxxxxxxxx> --- url: https://github.com/0day-ci/linux/commits/Ramuthevar-Vadivel-MuruganX/spi-cadence-quadpsi-Add-support-for-the-Cadence-QSPI-controller/20191101-174846 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Please take the patch only if it's a positive warning. Thanks! spi-cadence-quadspi.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/spi/spi-cadence-quadspi.c +++ b/drivers/spi/spi-cadence-quadspi.c @@ -1178,7 +1178,6 @@ static int cadence_qspi_probe(struct pla cqspi->irq = platform_get_irq(pdev, 0); if (cqspi->irq < 0) { - dev_err(dev, "platform_get_irq failed.\n"); ret = -ENXIO; goto err_irq; }