diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-09-23 10:32:35 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-23 12:04:48 +0200 |
commit | 5ec3215e56af8f7ce30c3d9d39029a85616713c0 (patch) | |
tree | f60305bef83968f8a83229879503446d0eabdd7b /drivers/soundwire/slave.c | |
parent | soundwire: cadence: add data port test fail interrupt (diff) | |
download | linux-5ec3215e56af8f7ce30c3d9d39029a85616713c0.tar.xz linux-5ec3215e56af8f7ce30c3d9d39029a85616713c0.zip |
soundwire: remove an unnecessary NULL check
The "bus" pointer isn't NULL so the address to a non-zero offset in
middle of "bus" cannot be NULL. Delete the NULL check.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200923083235.GB1454948@mwanda
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/slave.c')
0 files changed, 0 insertions, 0 deletions