]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: mvebu: drop unnecessary NULL check
authorMartin Kaiser <martin@kaiser.cx>
Sat, 2 May 2026 12:14:26 +0000 (14:14 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 1 Jun 2026 06:24:46 +0000 (08:24 +0200)
commite73bd62dd7de707ecbf0d326efcad6756c674da4
tree4861d2942d916ef131f3f6acf87f6469f65193ec
parent254f49634ee16a731174d2ae34bc50bd5f45e731
ARM: mvebu: drop unnecessary NULL check

Don't check the returned pointer from of_find_compatible_node.
We pass this pointer to of_iomap, which handles np==NULL  correctly.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/mach-mvebu/coherency.c