aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2023-06-02 11:11:38 +0100
committerVinod Koul <[email protected]>2023-06-08 17:09:11 +0530
commit2b2da40979dde8466dd1b7b5969af5fa5aa52cbd (patch)
tree5c9421ec677dabe496d50bd26dc56097484823cd /drivers/usb/cdns3/cdns3-debug.h
parent6eedc227241eb59dc05636e8aaed7b0195bc4a5c (diff)
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 <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions