diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-12 00:46:45 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-18 02:26:33 +0200 |
commit | c749c64f45fa07d20e11af2e3f3caa9d7650d341 (patch) | |
tree | 30f717d86c06418d3f381329e21ecdd0d0f03e2d /drivers/macintosh/macio-adb.c | |
parent | intel_pstate: Clean up get_target_pstate_use_performance() (diff) | |
download | linux-c749c64f45fa07d20e11af2e3f3caa9d7650d341.tar.xz linux-c749c64f45fa07d20e11af2e3f3caa9d7650d341.zip |
intel_pstate: Simplify conditional in intel_pstate_set_policy()
One of the if () statements in intel_pstate_set_policy() causes
another if () to be evaluated if the condition is true and it
doesn't do anything else, so merge the two if () statements into
one.
No functional changes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'drivers/macintosh/macio-adb.c')
0 files changed, 0 insertions, 0 deletions