diff options
| author | Stephan Gerhold <stephan@gerhold.net> | 2019-01-02 20:39:03 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-01-04 15:15:51 +0000 |
| commit | b97205ef95efddee018061dfee14c995be08dde3 (patch) | |
| tree | c6e1589e274fae85c8b37f2bcb694f7126d528ab /include/linux/timerqueue.h | |
| parent | 5198baf8817d7e6e0fe2f3e74ea2ead714b74d9c (diff) | |
| download | cachepc-linux-b97205ef95efddee018061dfee14c995be08dde3.tar.gz cachepc-linux-b97205ef95efddee018061dfee14c995be08dde3.zip | |
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 <stephan@gerhold.net>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
