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
nexedi
linux
Commits
624ab464
Commit
624ab464
authored
Jan 08, 2013
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svcrpc: silence "unused variable" warning in !RPC_DEBUG case
Signed-off-by:
J. Bruce Fields
<
bfields@redhat.com
>
parent
ec168676
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
net/sunrpc/svc.c
net/sunrpc/svc.c
+4
-0
No files found.
net/sunrpc/svc.c
View file @
624ab464
...
...
@@ -1042,6 +1042,7 @@ static void svc_unregister(const struct svc_serv *serv, struct net *net)
/*
* dprintk the given error with the address of the client that caused it.
*/
#ifdef RPC_DEBUG
static
__printf
(
2
,
3
)
void
svc_printk
(
struct
svc_rqst
*
rqstp
,
const
char
*
fmt
,
...)
{
...
...
@@ -1058,6 +1059,9 @@ void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...)
va_end
(
args
);
}
#else
static
__printf
(
2
,
3
)
void
svc_printk
(
struct
svc_rqst
*
rqstp
,
const
char
*
fmt
,
...)
{}
#endif
/*
* Common routine for processing the RPC request.
...
...
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