]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit51307c3a0898809802135330c4039008c7e1fd98
tree44756b54888c3ce6c71299cc0b8c92b19f96827f
parentb14131414ec1c9bca2bb7e64e58627930a795a6e
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 ecfa095406415edc ("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