Remove sparse build warning
authorSteve French <smfrench@gmail.com>
Fri, 11 Jul 2014 12:47:01 +0000 (07:47 -0500)
committerSteve French <smfrench@gmail.com>
Sat, 2 Aug 2014 06:23:01 +0000 (01:23 -0500)
The recent session setup patch set
(cifs-Separate-rawntlmssp-auth-from-CIFS_SessSetup.patch)
had introduced a trivial sparse build warning.

Signed-off-by: Steve French <smfrench@gmail.com>
Cc: Sachin Prabhu <sprabhu@redhat.com>
fs/cifs/sess.c

index c2e7c07..39ee326 100644 (file)
@@ -1366,7 +1366,7 @@ out:
        sess_data->result = rc;
 }
 
-int select_sec(struct cifs_ses *ses, struct sess_data *sess_data)
+static int select_sec(struct cifs_ses *ses, struct sess_data *sess_data)
 {
        int type;