Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f90f00a3
Commit
f90f00a3
authored
Jun 25, 2006
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Fix compile warning when CONFIG_CIFS_EXPERIMENTAL is off
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
bbe5d235
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
fs/cifs/cifsproto.h
fs/cifs/cifsproto.h
+0
-2
fs/cifs/cifssmb.c
fs/cifs/cifssmb.c
+0
-2
No files found.
fs/cifs/cifsproto.h
View file @
f90f00a3
...
...
@@ -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
);
...
...
fs/cifs/cifssmb.c
View file @
f90f00a3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment