summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2015-11-24 02:58:45 +0100
committerJens Axboe <axboe@fb.com>2015-11-24 23:24:25 +0100
commitd674d4145e1909e0e4c394bb2633ef73d539bd27 (patch)
treec14a9594220c5b88f8bd1490f95d8f77a99ea586
parentblock: rename request_queue slab cache (diff)
downloadlinux-d674d4145e1909e0e4c394bb2633ef73d539bd27.tar.xz
linux-d674d4145e1909e0e4c394bb2633ef73d539bd27.zip
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>
-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 c0c884efa40f..c88a946eca49 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