linux/arch/mips/sgi-ip27
Markus Elfring b9ace0647f MIPS: SGI-IP27: Delete an unnecessary check before kfree() in hub_domain_free()
It can be known that the function “kfree” performs a null pointer check
for its input parameter.
It is therefore not needed to repeat such a check before its call.

Thus remove a redundant pointer check.

The source code was transformed by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2025-07-16 18:54:16 +02:00
..
ip27-berr.c MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
ip27-common.h MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
ip27-console.c MIPS: SGI-IP27: Move all shared IP27 declarations to ip27-common.h 2020-01-09 15:30:03 -08:00
ip27-init.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
ip27-irq.c MIPS: SGI-IP27: Delete an unnecessary check before kfree() in hub_domain_free() 2025-07-16 18:54:16 +02:00
ip27-klconfig.c
ip27-klnuma.c MIPS: SGI-IP27: Move all shared IP27 declarations to ip27-common.h 2020-01-09 15:30:03 -08:00
ip27-memory.c MIPS: consolidate mem_init() for NUMA machines 2025-03-17 22:06:51 -07:00
ip27-nmi.c MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
ip27-reset.c MIPS: SGI-IP27: use asm/sn/agent.h for including HUB related stuff 2020-01-09 15:29:50 -08:00
ip27-smp.c MIPS: sgi-ip27: ensure node_possible_map only contains valid nodes 2024-09-03 21:15:27 -07:00
ip27-timer.c MIPS: SGI-IP27: fix spelling in Copyright 2021-03-06 08:43:39 +01:00
ip27-xtalk.c MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create() 2022-09-19 16:33:27 +02:00
Kconfig
Makefile MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00