mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
media: mali-c55: core: Remove redundant dev_err()
The platform_get_irq_byname() function already prints an error message internally upon failure using dev_err_probe(). Therefore, the explicit dev_err() is redundant and results in duplicate error logs. Remove the redundant dev_err() call to clean up the error path. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
5a11410b3d
commit
ff57ee8585
|
|
@ -833,7 +833,6 @@ static int mali_c55_probe(struct platform_device *pdev)
|
|||
mali_c55->irqnum = platform_get_irq(pdev, 0);
|
||||
if (mali_c55->irqnum < 0) {
|
||||
ret = mali_c55->irqnum;
|
||||
dev_err(dev, "failed to get interrupt\n");
|
||||
goto err_deinit_media_frameworks;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user