Skip to contentSkip to conversation

cifs: Remove the superfluous break

PATCH Applied Yi Wang 2 participants 2 messages Jul 14, 2020 – Jul 15, 2020

Subsystems (2)
lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH 1/1 cifs: Remove the superfluous break

From: Liao Pingfang <[email protected]>

Remove the superfuous break, as there is a 'return' before it.

---
 fs/cifs/sess.c | 1 -
 1 file changed, 1 deletion(-)
fs/cifs/sess.c +0 -1
index 5d05bd2..6708ab0 100644
@@ -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;
Signature · 1 line
2.9.5
Applied
#1 lore raw

merged into cifs-2.6.git for-next

thx

Quoted 26 lines · Yi Wang

From: Liao Pingfang <[email protected]>

Remove the superfuous break, as there is a 'return' before it.

---
 fs/cifs/sess.c | 1 -
 1 file changed, 1 deletion(-)
fs/cifs/sess.c +0 -2
index 5d05bd2..6708ab0 100644
@@ -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

Signature · 3 lines
Thanks,

Steve