projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f389e
)
irqchip/irq-imx-gpcv2: Remove unnecessary oom message
author
Zhen Lei
<thunder.leizhen@huawei.com>
Wed, 9 Jun 2021 14:11:50 +0000
(22:11 +0800)
committer
Marc Zyngier
<maz@kernel.org>
Fri, 11 Jun 2021 13:19:47 +0000
(14:19 +0100)
Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message
Remove it can help us save a bit of memory.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link:
https://lore.kernel.org/r/20210609141150.14637-1-thunder.leizhen@huawei.com
drivers/irqchip/irq-imx-gpcv2.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-imx-gpcv2.c
b/drivers/irqchip/irq-imx-gpcv2.c
index
7031ef4
..
5b5a365
100644
(file)
--- a/
drivers/irqchip/irq-imx-gpcv2.c
+++ b/
drivers/irqchip/irq-imx-gpcv2.c
@@
-228,10
+228,8
@@
static int __init imx_gpcv2_irqchip_init(struct device_node *node,
}
cd = kzalloc(sizeof(struct gpcv2_irqchip_data), GFP_KERNEL);
- if (!cd) {
- pr_err("%pOF: kzalloc failed!\n", node);
+ if (!cd)
return -ENOMEM;
- }
raw_spin_lock_init(&cd->rlock);