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
0053a8e6
Commit
0053a8e6
authored
May 21, 2013
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUNRPC: Remove unused function rpc_queue_empty
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
a76580fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
include/linux/sunrpc/sched.h
include/linux/sunrpc/sched.h
+0
-1
net/sunrpc/sched.c
net/sunrpc/sched.c
+0
-14
No files found.
include/linux/sunrpc/sched.h
View file @
0053a8e6
...
@@ -238,7 +238,6 @@ struct rpc_task *rpc_wake_up_first(struct rpc_wait_queue *,
...
@@ -238,7 +238,6 @@ struct rpc_task *rpc_wake_up_first(struct rpc_wait_queue *,
bool
(
*
)(
struct
rpc_task
*
,
void
*
),
bool
(
*
)(
struct
rpc_task
*
,
void
*
),
void
*
);
void
*
);
void
rpc_wake_up_status
(
struct
rpc_wait_queue
*
,
int
);
void
rpc_wake_up_status
(
struct
rpc_wait_queue
*
,
int
);
int
rpc_queue_empty
(
struct
rpc_wait_queue
*
);
void
rpc_delay
(
struct
rpc_task
*
,
unsigned
long
);
void
rpc_delay
(
struct
rpc_task
*
,
unsigned
long
);
void
*
rpc_malloc
(
struct
rpc_task
*
,
size_t
);
void
*
rpc_malloc
(
struct
rpc_task
*
,
size_t
);
void
rpc_free
(
void
*
);
void
rpc_free
(
void
*
);
...
...
net/sunrpc/sched.c
View file @
0053a8e6
...
@@ -445,20 +445,6 @@ static void rpc_wake_up_task_queue_locked(struct rpc_wait_queue *queue, struct r
...
@@ -445,20 +445,6 @@ static void rpc_wake_up_task_queue_locked(struct rpc_wait_queue *queue, struct r
}
}
}
}
/*
* Tests whether rpc queue is empty
*/
int
rpc_queue_empty
(
struct
rpc_wait_queue
*
queue
)
{
int
res
;
spin_lock_bh
(
&
queue
->
lock
);
res
=
queue
->
qlen
;
spin_unlock_bh
(
&
queue
->
lock
);
return
res
==
0
;
}
EXPORT_SYMBOL_GPL
(
rpc_queue_empty
);
/*
/*
* Wake up a task on a specific queue
* Wake up a task on a specific queue
*/
*/
...
...
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