PM / clk: Remove error message on out-of-memory condition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 May 2019 12:27:51 +0000 (14:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 May 2019 17:40:21 +0000 (19:40 +0200)
commit338c993f9aa2078e03c909464e963a31e086df69
tree44756b54888c3ce6c71299cc0b8c92b19f96827f
parent7e186d9de9290d57c90751ea252135f425f49e6e
PM / clk: Remove error message on out-of-memory condition

There is no need to print an error message if kstrdup() fails, as the
memory allocation core already takes care of that.

Note that commit 59d84ca8c46a93ad ("PM / OPP / clk: Remove unnecessary
OOM message") already removed similar error messages, but this one was
forgotten.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/clock_ops.c