diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-02-15 16:40:38 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-03-05 12:39:32 +0100 |
commit | bda4d21b6e5d423e3f21a6c49d3d5283592e3b65 (patch) | |
tree | 1602eba7406b92fba8a771e10ed11837f799b26b /drivers/cpuidle | |
parent | 661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff) | |
download | linux-bda4d21b6e5d423e3f21a6c49d3d5283592e3b65.tar.gz linux-bda4d21b6e5d423e3f21a6c49d3d5283592e3b65.tar.bz2 linux-bda4d21b6e5d423e3f21a6c49d3d5283592e3b65.zip |
ARM: cpuidle: Drop memory allocation error message from arm_idle_init_cpu()
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r-- | drivers/cpuidle/cpuidle-arm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-arm.c b/drivers/cpuidle/cpuidle-arm.c index ddee1b601b89..e07bc7ace774 100644 --- a/drivers/cpuidle/cpuidle-arm.c +++ b/drivers/cpuidle/cpuidle-arm.c @@ -129,7 +129,6 @@ static int __init arm_idle_init_cpu(int cpu) dev = kzalloc(sizeof(*dev), GFP_KERNEL); if (!dev) { - pr_err("Failed to allocate cpuidle device\n"); ret = -ENOMEM; goto out_unregister_drv; } |