Skip to content
Commit 5ec3215e authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200923083235.GB1454948@mwanda


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9e4e6019
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment