diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2023-06-02 13:11:38 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-06-08 14:39:11 +0300 |
commit | 2b2da40979dde8466dd1b7b5969af5fa5aa52cbd (patch) | |
tree | 5c9421ec677dabe496d50bd26dc56097484823cd /tools/testing/selftests/bpf/prog_tests/async_stack_depth.c | |
parent | 6eedc227241eb59dc05636e8aaed7b0195bc4a5c (diff) | |
download | linux-2b2da40979dde8466dd1b7b5969af5fa5aa52cbd.tar.xz |
soundwire: stream: Remove unneeded checks for NULL bus
Version of the code prior to commit d014688eb373 ("soundwire: stream:
remove bus->dev from logs on multiple buses"), used bus->dev in the
error message after do_bank_switch, this necessitated some checking to
ensure the bus pointer was valid. As the code no longer uses bus->dev
said checking is now redundant, so remove it.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230602101140.2040141-3-ckeepax@opensource.cirrus.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/async_stack_depth.c')
0 files changed, 0 insertions, 0 deletions