Content-Type: multipart/mixed; boundary="===============2884018747317773046==" MIME-Version: 1.0 From: Julia Lawall To: kbuild-all@lists.01.org Subject: [PATCH] media: coda: jpeg: fix platform_get_irq.cocci warnings Date: Sun, 17 Nov 2019 12:11:53 +0100 Message-ID: List-Id: --===============2884018747317773046== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: kbuild test robot Error report is redundant because platform_get_irq() already prints an error Generated by: scripts/coccinelle/api/platform_get_irq.cocci Fixes: fb3a8aa62186 ("media: coda: jpeg: add CODA960 JPEG encoder support") CC: Philipp Zabel Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- The {} will need to be removed as well. url: https://github.com/0day-ci/linux/commits/Philipp-Zabel/media-coda-d= o-not-skip-finish_run-if-aborting/20191114-025803 base: git://linuxtv.org/media_tree.git master :::::: branch date: 4 days ago :::::: commit date: 4 days ago Please take the patch only if it's a positive warning. Thanks! coda-common.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/media/platform/coda/coda-common.c +++ b/drivers/media/platform/coda/coda-common.c @@ -3019,7 +3019,6 @@ static int coda_probe(struct platform_de if (dev->devtype->product =3D=3D CODA_960) { irq =3D platform_get_irq_byname(pdev, "jpeg"); if (irq < 0) { - dev_err(&pdev->dev, "failed to get jpeg irq resource\n"); return irq; } --===============2884018747317773046==--