Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
74fe5f7c
Commit
74fe5f7c
authored
11 years ago
by
Trond Myklebust
Browse files
Options
Downloads
Patches
Plain Diff
SUNRPC: Remove unused functions rpc_task_set/has_priority
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
64bbe3d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/linux/sunrpc/sched.h
+0
-10
0 additions, 10 deletions
include/linux/sunrpc/sched.h
with
0 additions
and
10 deletions
include/linux/sunrpc/sched.h
+
0
−
10
View file @
74fe5f7c
...
@@ -249,16 +249,6 @@ static inline int rpc_wait_for_completion_task(struct rpc_task *task)
...
@@ -249,16 +249,6 @@ static inline int rpc_wait_for_completion_task(struct rpc_task *task)
return
__rpc_wait_for_completion_task
(
task
,
NULL
);
return
__rpc_wait_for_completion_task
(
task
,
NULL
);
}
}
static
inline
void
rpc_task_set_priority
(
struct
rpc_task
*
task
,
unsigned
char
prio
)
{
task
->
tk_priority
=
prio
-
RPC_PRIORITY_LOW
;
}
static
inline
int
rpc_task_has_priority
(
struct
rpc_task
*
task
,
unsigned
char
prio
)
{
return
(
task
->
tk_priority
+
RPC_PRIORITY_LOW
==
prio
);
}
#if defined(RPC_DEBUG) || defined (RPC_TRACEPOINTS)
#if defined(RPC_DEBUG) || defined (RPC_TRACEPOINTS)
static
inline
const
char
*
rpc_qname
(
const
struct
rpc_wait_queue
*
q
)
static
inline
const
char
*
rpc_qname
(
const
struct
rpc_wait_queue
*
q
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment