net: iosm: remove an unnecessary NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 19 Jun 2021 13:51:26 +0000 (16:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2021 19:17:55 +0000 (12:17 -0700)
commitd5fff4629beadf262559cae79012ce0dee268c1d
treeee2b851b1f0c5968791dcb48b62b92b6c410b769
parent1a1100d53f12451d50bc5ebbc941517760912ab8
net: iosm: remove an unnecessary NULL check

The address of &ipc_mux->ul_adb can't be NULL because it points to the
middle of a non-NULL struct.

Fixes: 9413491e20e1 ("net: iosm: encode or decode datagram")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: M Chetan Kumar <m.chetan.kumar@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/iosm/iosm_ipc_mux_codec.c