aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2024-01-08 22:37:10 -0600
committerSteve French <stfrench@microsoft.com>2024-01-08 22:37:10 -0600
commita3f763fdcb2f784c355aed66ddac6748ff8dbfa6 (patch)
tree83b661265c9a047519be37179dd7ef5ed661ba47
parent8d606c311b75e81063b4ea650b301cbe0c4ed5e1 (diff)
downloadlinux-a3f763fdcb2f784c355aed66ddac6748ff8dbfa6.tar.gz
cifs: remove unneeded return statement
Return statement was not needed at end of cifs_chan_update_iface Suggested-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--fs/smb/client/sess.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/smb/client/sess.c b/fs/smb/client/sess.c
index f7b216dd06b2e1..cde81042bebda6 100644
--- a/fs/smb/client/sess.c
+++ b/fs/smb/client/sess.c
@@ -480,8 +480,6 @@ cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server)
ses->chans[chan_index].iface = iface;
spin_unlock(&ses->chan_lock);
-
- return;
}
/*