diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-18 18:32:38 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:41 -0500 |
commit | c087567d3ffb2c7c61e091982e6ca45478394f1a (patch) | |
tree | 39350f856b53101f98fb789d9afefb89f7b80802 /include/linux | |
parent | a4a874990cbc1bc5df6f357c4f2d043cd1923e15 (diff) |
SUNRPC: Remove the obsolete RPC_WAITQ macro
Now that we've killed off all the users.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sunrpc/sched.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 23481a5e1f53..ce3d1b132729 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
@@ -217,29 +217,6 @@ struct rpc_wait_queue { | |||
217 | * performance of NFS operations such as read/write. | 217 | * performance of NFS operations such as read/write. |
218 | */ | 218 | */ |
219 | #define RPC_BATCH_COUNT 16 | 219 | #define RPC_BATCH_COUNT 16 |
220 | |||
221 | #ifndef RPC_DEBUG | ||
222 | # define RPC_WAITQ_INIT(var,qname) { \ | ||
223 | .lock = __SPIN_LOCK_UNLOCKED(var.lock), \ | ||
224 | .tasks = { \ | ||
225 | [0] = LIST_HEAD_INIT(var.tasks[0]), \ | ||
226 | [1] = LIST_HEAD_INIT(var.tasks[1]), \ | ||
227 | [2] = LIST_HEAD_INIT(var.tasks[2]), \ | ||
228 | }, \ | ||
229 | } | ||
230 | #else | ||
231 | # define RPC_WAITQ_INIT(var,qname) { \ | ||
232 | .lock = __SPIN_LOCK_UNLOCKED(var.lock), \ | ||
233 | .tasks = { \ | ||
234 | [0] = LIST_HEAD_INIT(var.tasks[0]), \ | ||
235 | [1] = LIST_HEAD_INIT(var.tasks[1]), \ | ||
236 | [2] = LIST_HEAD_INIT(var.tasks[2]), \ | ||
237 | }, \ | ||
238 | .name = qname, \ | ||
239 | } | ||
240 | #endif | ||
241 | # define RPC_WAITQ(var,qname) struct rpc_wait_queue var = RPC_WAITQ_INIT(var,qname) | ||
242 | |||
243 | #define RPC_IS_PRIORITY(q) ((q)->maxpriority > 0) | 220 | #define RPC_IS_PRIORITY(q) ((q)->maxpriority > 0) |
244 | 221 | ||
245 | /* | 222 | /* |