summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2015-11-24 01:58:45 (GMT)
committerJens Axboe <axboe@fb.com>2015-11-24 22:24:25 (GMT)
commitd674d4145e1909e0e4c394bb2633ef73d539bd27 (patch)
treec14a9594220c5b88f8bd1490f95d8f77a99ea586 /block
parentc2789bd403f4c0c541a359cf318b1dda9a14234f (diff)
downloadlinux-d674d4145e1909e0e4c394bb2633ef73d539bd27.tar.xz
block: do not initialise globals to 0 or NULL
This patch fixes the checkpatch.pl error to blk-exec.c: ERROR: do not initialise globals to 0 or NULL Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index c0c884e..c88a946 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -51,7 +51,7 @@ DEFINE_IDA(blk_queue_ida);
/*
* For the allocated request tables
*/
-struct kmem_cache *request_cachep = NULL;
+struct kmem_cache *request_cachep;
/*
* For queue allocation