summaryrefslogtreecommitdiffstats
path: root/fs/smb/client/cifsproto.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-01-08 12:08:29 +0300
committerSteve French <stfrench@microsoft.com>2024-01-08 22:36:26 -0600
commit8d606c311b75e81063b4ea650b301cbe0c4ed5e1 (patch)
tree941f3b5bd7b30db2efc56ba043166b15ef73bd8d /fs/smb/client/cifsproto.h
parentc3a11c0ec66c1e0652e3a2bb4f5cc74eea0ba486 (diff)
downloadlinux-stable-8d606c311b75e81063b4ea650b301cbe0c4ed5e1.tar.gz
linux-stable-8d606c311b75e81063b4ea650b301cbe0c4ed5e1.tar.bz2
linux-stable-8d606c311b75e81063b4ea650b301cbe0c4ed5e1.zip
cifs: make cifs_chan_update_iface() a void function
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>
Diffstat (limited to 'fs/smb/client/cifsproto.h')
-rw-r--r--fs/smb/client/cifsproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smb/client/cifsproto.h b/fs/smb/client/cifsproto.h
index afbab86331a1..a841bf4967fa 100644
--- a/fs/smb/client/cifsproto.h
+++ b/fs/smb/client/cifsproto.h
@@ -656,7 +656,7 @@ cifs_chan_is_iface_active(struct cifs_ses *ses,
struct TCP_Server_Info *server);
void
cifs_disable_secondary_channels(struct cifs_ses *ses);
-int
+void
cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server);
int
SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount);