Skip to content

Commit ee5ee18

Browse files
tangchunyouChun-Kuang Hu
authored andcommitted
drm/mediatek: cec: Delete redundant printing of return value
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all. Signed-off-by: tangchunyou <[email protected]> Signed-off-by: Chun-Kuang Hu <[email protected]>
1 parent 4accca4 commit ee5ee18

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/gpu/drm/mediatek/mtk_cec.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,8 @@ static int mtk_cec_probe(struct platform_device *pdev)
208208
}
209209

210210
cec->irq = platform_get_irq(pdev, 0);
211-
if (cec->irq < 0) {
212-
dev_err(dev, "Failed to get cec irq: %d\n", cec->irq);
211+
if (cec->irq < 0)
213212
return cec->irq;
214-
}
215213

216214
ret = devm_request_threaded_irq(dev, cec->irq, NULL,
217215
mtk_cec_htplg_isr_thread,

0 commit comments

Comments
 (0)