projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index 5e14b3f4510f401a8a94acfeab9d5e164cf5e447..7b63c9b6333d7e051f20588083ccaf90ff43540f 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.