soundwire: remove an unnecessary NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 23 Sep 2020 08:32:35 +0000 (11:32 +0300)
committerVinod Koul <vkoul@kernel.org>
Wed, 23 Sep 2020 10:04:48 +0000 (15:34 +0530)
commit5ec3215e56af8f7ce30c3d9d39029a85616713c0
treef60305bef83968f8a83229879503446d0eabdd7b
parent9e4e6019e68cc1749bf5aba0ee5e91576de242bf
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>
drivers/soundwire/generic_bandwidth_allocation.c