mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
staging: axis-fifo: remove redundant dev_err call
devm_ioremap_resource() prints error message in itself. Remove the dev_err call to avoid redundant error message. Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com> Link: https://lore.kernel.org/r/20210407161202.GA1505056@LEGION Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f9b9263a25
commit
1c42823492
@ -853,7 +853,6 @@ static int axis_fifo_probe(struct platform_device *pdev)
|
||||
fifo->base_addr = devm_ioremap_resource(fifo->dt_device, r_mem);
|
||||
if (IS_ERR(fifo->base_addr)) {
|
||||
rc = PTR_ERR(fifo->base_addr);
|
||||
dev_err(fifo->dt_device, "can't remap IO resource (%d)\n", rc);
|
||||
goto err_initial;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user