[CIFS] remove some build warnings

Signed-off-by: Steve French <sfrench@us.ibm.com>

+5 -3
+5 -3
fs/cifs/connect.c
··· 2231 2231 return; 2232 2232 } 2233 2233 2234 + #ifdef CONFIG_CIFS_DFS_UPCALL 2234 2235 /* build_path_to_root returns full path to root when 2235 2236 * we do not have an exiting connection (tcon) */ 2236 2237 static char * ··· 2261 2260 full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */ 2262 2261 return full_path; 2263 2262 } 2263 + #endif 2264 2264 2265 2265 int 2266 2266 cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb, ··· 2274 2272 struct cifsTconInfo *tcon = NULL; 2275 2273 struct TCP_Server_Info *srvTcp = NULL; 2276 2274 char *full_path; 2275 + char *mount_data = mount_data_global; 2276 + #ifdef CONFIG_CIFS_DFS_UPCALL 2277 2277 struct dfs_info3_param *referrals = NULL; 2278 2278 unsigned int num_referrals = 0; 2279 - 2280 - char *mount_data = mount_data_global; 2281 - 2282 2279 try_mount_again: 2280 + #endif 2283 2281 full_path = NULL; 2284 2282 2285 2283 xid = GetXid();