projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b144a
)
block: get rid of unused blkdev_free_rq() define
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 6 Mar 2009 10:12:17 +0000
(11:12 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 24 Mar 2009 11:35:16 +0000
(12:35 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
patch
|
blob
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index
5e14b3f
..
7b63c9b
100644
(file)
--- a/
block/blk-core.c
+++ b/
block/blk-core.c
@@
-732,7
+732,6
@@
static void freed_request(struct request_queue *q, int rw, int priv)
__freed_request(q, rw ^ 1);
}
-#define blkdev_free_rq(list) list_entry((list)->next, struct request, queuelist)
/*
* Get a free request, queue_lock must be held.
* Returns NULL on failure, with queue_lock held.