of: unittest: Remove error printing on OOM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 2 May 2019 12:45:35 +0000 (14:45 +0200)
committerRob Herring <robh@kernel.org>
Thu, 2 May 2019 21:38:59 +0000 (16:38 -0500)
commit2a656cb5a4a3473c5fc6bf4fddc3560ceed53220
tree923947b1be1542735854452b36762a54399896fe
parent6f7dc9a37f2b325fc870d1e1ada6169185f8852c
of: unittest: Remove error printing on OOM

There is no need to print a backtrace or other error message if
kzalloc(), kmemdup(), or devm_kzalloc() fails, as the memory allocation
core already takes care of that.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/unittest.c