summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorWei Tang <tangwei@cmss.chinamobile.com>2015-11-24 09:58:45 +0800
committerJens Axboe <axboe@fb.com>2015-11-24 15:24:25 -0700
commitd674d4145e1909e0e4c394bb2633ef73d539bd27 (patch)
treec14a9594220c5b88f8bd1490f95d8f77a99ea586 /block
parentc2789bd403f4c0c541a359cf318b1dda9a14234f (diff)
downloadop-kernel-dev-d674d4145e1909e0e4c394bb2633ef73d539bd27.zip
op-kernel-dev-d674d4145e1909e0e4c394bb2633ef73d539bd27.tar.gz
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
OpenPOWER on IntegriCloud