projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcfff0b
)
This patch kills elevator_global_init() in elevator.c which does
author
Tejun Heo
<htejun@gmail.com>
Thu, 16 Jun 2005 10:56:15 +0000
(12:56 +0200)
committer
Jens Axboe
<axboe@suse.de>
Thu, 16 Jun 2005 10:56:15 +0000
(12:56 +0200)
nothing.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/block/elevator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/elevator.c
b/drivers/block/elevator.c
index 6b79b4314622053858e17598c50dda88496f06fa..98fcabbafe1ea03ebe1fd14e4772e62ea0b8abf3 100644
(file)
--- a/
drivers/block/elevator.c
+++ b/
drivers/block/elevator.c
@@
-220,11
+220,6
@@
void elevator_exit(elevator_t *e)
kfree(e);
}
-static int elevator_global_init(void)
-{
- return 0;
-}
-
int elv_merge(request_queue_t *q, struct request **req, struct bio *bio)
{
elevator_t *e = q->elevator;
@@
-692,8
+687,6
@@
ssize_t elv_iosched_show(request_queue_t *q, char *name)
return len;
}
-module_init(elevator_global_init);
-
EXPORT_SYMBOL(elv_add_request);
EXPORT_SYMBOL(__elv_add_request);
EXPORT_SYMBOL(elv_requeue_request);