Message ID | 1594724352-11451-1-git-send-email-wang.yi59@zte.com.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | cifs: Remove the superfluous break | expand |
merged into cifs-2.6.git for-next thx On Tue, Jul 14, 2020 at 6:14 AM Yi Wang <wang.yi59@zte.com.cn> wrote: > > From: Liao Pingfang <liao.pingfang@zte.com.cn> > > Remove the superfuous break, as there is a 'return' before it. > > Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn> > Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> > --- > fs/cifs/sess.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c > index 5d05bd2..6708ab0 100644 > --- a/fs/cifs/sess.c > +++ b/fs/cifs/sess.c > @@ -1705,7 +1705,6 @@ static int select_sec(struct cifs_ses *ses, struct sess_data *sess_data) > #else > cifs_dbg(VFS, "Kerberos negotiated but upcall support disabled!\n"); > return -ENOSYS; > - break; > #endif /* CONFIG_CIFS_UPCALL */ > case RawNTLMSSP: > sess_data->func = sess_auth_rawntlmssp_negotiate; > -- > 2.9.5 >
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index 5d05bd2..6708ab0 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c @@ -1705,7 +1705,6 @@ static int select_sec(struct cifs_ses *ses, struct sess_data *sess_data) #else cifs_dbg(VFS, "Kerberos negotiated but upcall support disabled!\n"); return -ENOSYS; - break; #endif /* CONFIG_CIFS_UPCALL */ case RawNTLMSSP: sess_data->func = sess_auth_rawntlmssp_negotiate;