File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(block_unplug);
57
57
58
58
DEFINE_IDA (blk_queue_ida );
59
59
60
- /*
61
- * For the allocated request tables
62
- */
63
- struct kmem_cache * request_cachep ;
64
-
65
60
/*
66
61
* For queue allocation
67
62
*/
@@ -1971,9 +1966,6 @@ int __init blk_dev_init(void)
1971
1966
if (!kblockd_workqueue )
1972
1967
panic ("Failed to create kblockd\n" );
1973
1968
1974
- request_cachep = kmem_cache_create ("blkdev_requests" ,
1975
- sizeof (struct request ), 0 , SLAB_PANIC , NULL );
1976
-
1977
1969
blk_requestq_cachep = kmem_cache_create ("request_queue" ,
1978
1970
sizeof (struct request_queue ), 0 , SLAB_PANIC , NULL );
1979
1971
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ struct blk_flush_queue {
32
32
};
33
33
34
34
extern struct kmem_cache * blk_requestq_cachep ;
35
- extern struct kmem_cache * request_cachep ;
36
35
extern struct kobj_type blk_queue_ktype ;
37
36
extern struct ida blk_queue_ida ;
38
37
You can’t perform that action at this time.
0 commit comments