]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cifs: make cifs_chan_update_iface() a void function
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 8 Jan 2024 09:08:29 +0000 (12:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:28:34 +0000 (15:28 +0200)
commit0845cb6bbf151706451a1bfb7c83fc40c5051631
tree6134fdc3a345b6b77c8ca4a784c5930348653ac8
parent4501f9cd36c1e220726b60f313bd1e47539d54db
cifs: make cifs_chan_update_iface() a void function

[ Upstream commit 8d606c311b75e81063b4ea650b301cbe0c4ed5e1 ]

The return values for cifs_chan_update_iface() didn't match what the
documentation said and nothing was checking them anyway.  Just make it
a void function.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Stable-dep-of: 16a57d768111 ("cifs: reduce warning log level for server not advertising interfaces")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/cifsproto.h
fs/smb/client/sess.c