diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2022-01-10 09:47:10 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2022-01-24 13:31:31 +0000 |
| commit | e42c903e8bf400728c4ae1f922169b4d28b72efa (patch) | |
| tree | 725161a2dba95a31c939172f01c222fc3c357bbe /tools/perf/scripts/python | |
| parent | ASoC: sh: rz-ssi: Drop ssi parameter from rz_ssi_stream_init() (diff) | |
| download | linux-e42c903e8bf400728c4ae1f922169b4d28b72efa.tar.gz linux-e42c903e8bf400728c4ae1f922169b4d28b72efa.zip | |
ASoC: sh: rz-ssi: Make return type of rz_ssi_stream_is_valid() to bool
rz_ssi_stream_is_valid() never returns an int, it returns the result of
a condition which is either true or false.
While at it, drop "!!" as the expression is boolean.
Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20220110094711.8574-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
