]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[CIFS] Fix compile warning when CONFIG_CIFS_EXPERIMENTAL is off
authorSteve French <sfrench@us.ibm.com>
Sun, 25 Jun 2006 15:59:32 +0000 (15:59 +0000)
committerSteve French <sfrench@us.ibm.com>
Sun, 25 Jun 2006 15:59:32 +0000 (15:59 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c

index 7ed06bfa19212febb6fbfaec81d82d8e246a0e8e..a5ddc62d6fe6e2c09f4b70dcbf4f7a69a22c9b17 100644 (file)
@@ -64,11 +64,9 @@ extern int map_smb_to_linux_error(struct smb_hdr *smb);
 extern void header_assemble(struct smb_hdr *, char /* command */ ,
                            const struct cifsTconInfo *, int /* length of
                            fixed section (word count) in two byte units */);
-#ifdef CONFIG_CIFS_EXPERIMENTAL
 extern int small_smb_init_no_tc(const int smb_cmd, const int wct,
                                struct cifsSesInfo *ses,
                                void ** request_buf);
-#endif
 extern int CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses,
                             const int stage, 
                             const struct nls_table *nls_cp);
index 271a037a386ffc60017722b9f18f2cae3526c7ac..38f83db207643bcadb2efbb33f9191797e7939af 100644 (file)
@@ -209,7 +209,6 @@ small_smb_init(int smb_command, int wct, struct cifsTconInfo *tcon,
        return rc;
 }
 
-#ifdef CONFIG_CIFS_EXPERIMENTAL  
 int
 small_smb_init_no_tc(const int smb_command, const int wct, 
                     struct cifsSesInfo *ses, void **request_buf)
@@ -235,7 +234,6 @@ small_smb_init_no_tc(const int smb_command, const int wct,
 
        return rc;
 }
-#endif  /* CONFIG_CIFS_EXPERIMENTAL */
 
 /* If the return code is zero, this function must fill in request_buf pointer */
 static int