cifs: remove redundant code in ssselct_sec()

Message ID 20181222125138.32348-1-cgxu519@gmx.com
State New
Headers show
Series
  • cifs: remove redundant code in ssselct_sec()
Related show

Commit Message

Chengguang Xu Dec. 22, 2018, 12:51 p.m.
Code cleanup for removing redundant break in switch case.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
---
 fs/cifs/sess.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index aa23c00367ec..2d378c85de53 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -1431,7 +1431,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;