cifs: remove unneeded return statement
authorSteve French <stfrench@microsoft.com>
Sun, 28 Jan 2024 22:44:54 +0000 (16:44 -0600)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Jan 2024 22:44:54 +0000 (16:44 -0600)
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>
fs/cifs/sess.c

index f7b216dd06b2e186f5b2858b53519c88c6e72ce0..cde81042bebda6b8f3a454f46eb8b055af8d2f3c 100644 (file)
@@ -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;
 }
 
 /*