commit | f90fafecf4880b9785da85feb9b3e6d85fbf2287 | [log] [tgz] |
---|---|---|
author | Tiezhu Yang <yangtiezhu@loongson.cn> | Tue Jul 07 10:12:45 2020 +0800 |
committer | Marc Zyngier <maz@kernel.org> | Fri Jul 17 13:41:42 2020 +0100 |
tree | 7c4f85350e577c82e282eebd75717b563048c37f | |
parent | 52b350cbc94721d87f087d1a5800f9531c2d682c [diff] |
irqchip/loongson-htpic: Remove redundant kfree operation In the function htpic_of_init(), when kzalloc htpic fails, it should return -ENOMEM directly, no need to execute "goto" to kfree. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/1594087972-21715-2-git-send-email-yangtiezhu@loongson.cn