diff options
| author | Stephan Gerhold <[email protected]> | 2019-01-02 20:39:03 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-01-04 15:15:51 +0000 |
| commit | b97205ef95efddee018061dfee14c995be08dde3 (patch) | |
| tree | c6e1589e274fae85c8b37f2bcb694f7126d528ab /tools/perf/scripts/python/bin | |
| parent | 5198baf8817d7e6e0fe2f3e74ea2ead714b74d9c (diff) | |
ASoC: Intel: sst: Simplify is_byt_cr()
is_byt_cr() and its usage can be simplified by returning the bool
directly, instead of through a pointer. This works because the
return value is just treated as bytcr = false and is not used
otherwise.
This patch also removes the extra check of
IS_ENABLED(CONFIG_IOSF_MBI) in favor of checking
iosf_mbi_available() directly. The header already takes care
of returning false if the config option is not enabled.
No functional change.
Signed-off-by: Stephan Gerhold <[email protected]>
Acked-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions