]> git.itanic.dy.fi Git - linux-stable/commit
cifs: delete unnecessary NULL checks in cifs_chan_update_iface()
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 8 Jan 2024 09:07:59 +0000 (12:07 +0300)
committerSteve French <stfrench@microsoft.com>
Tue, 9 Jan 2024 00:43:19 +0000 (18:43 -0600)
commitc3a11c0ec66c1e0652e3a2bb4f5cc74eea0ba486
tree18e83982aeb5e8c3f05e92abb419d6160a756804
parent8a3c4e44c243308c2364a00f9944c3d6fbdeb125
cifs: delete unnecessary NULL checks in cifs_chan_update_iface()

We return early if "iface" is NULL so there is no need to check here.
Delete those checks.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/sess.c