]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: Remove redundant error printing
authorZhen Lei <thunder.leizhen@huawei.com>
Tue, 11 May 2021 12:54:28 +0000 (20:54 +0800)
committerMarc Zyngier <maz@kernel.org>
Sun, 16 May 2021 12:07:18 +0000 (13:07 +0100)
commitea270d1e8bdc848bfac661f806d291dd35c8f497
tree39258b47c847acfba2a0371b01d7dfcb62c71ceb
parent5bad22b0b9dd572db1565f7bbfea61b67abe87e5
irqchip: Remove redundant error printing

When devm_ioremap_resource() fails, a clear enough error message will be
printed by its subfunction __devm_ioremap_resource(). The error
information contains the device name, failure cause, and possibly resource
information.

Therefore, remove the error printing here to simplify code and reduce the
binary size.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210511125428.6108-2-thunder.leizhen@huawei.com
drivers/irqchip/irq-mvebu-icu.c
drivers/irqchip/irq-mvebu-sei.c
drivers/irqchip/irq-stm32-exti.c