cifs: remove unneeded return statement
authorSteve French <stfrench@microsoft.com>
Tue, 9 Jan 2024 04:37:10 +0000 (22:37 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 May 2024 14:22:44 +0000 (16:22 +0200)
[ Upstream commit a3f763fdcb2f784c355aed66ddac6748ff8dbfa6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/sess.c

index 5de32640f0265c128af44da647d042db7343c5ef..3216f786908fbb2ac8345cf5929fadf8ec6920d4 100644 (file)
@@ -485,8 +485,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;
 }
 
 /*