PM / Domain: remove conditional from error case
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 17 Mar 2017 05:49:21 +0000 (11:19 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 Mar 2017 22:09:21 +0000 (00:09 +0200)
commit8ce95844c85349243520b6943ec1225a047d7d6c
tree0e6f66b1d5836be3b401eee55e2f457fc1d2708a
parentc02ed2e75ef4c74e41e421acb4ef1494671585e8
PM / Domain: remove conditional from error case

There is no point running the conditional 'if' statement if the genpd
isn't present.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c